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)
commitd96a89407e5f682d1cb22569d91784506c784863
tree68e737536594dfd0bbbcf9d48b1e63a5248bbc97
parent68fdbe090c362e8be23890a7333d156e18c27781
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