]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime...
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 12 Apr 2022 08:30:44 +0000 (08:30 +0000)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 4 May 2022 21:44:03 +0000 (23:44 +0200)
commit2159732ed8e70f15a5e6c083101fd0b33f94c987
tree68e737536594dfd0bbbcf9d48b1e63a5248bbc97
parentdbf38396988a8393a09144e00e0228511d7f05cb
power: supply: bq24190_charger: using pm_runtime_resume_and_get instead of pm_runtime_get_sync

Using pm_runtime_resume_and_get is more appropriate
for simplifing code

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq24190_charger.c