soc: ti: pm33xx: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 18 Apr 2022 06:30:59 +0000 (06:30 +0000)
committerNishanth Menon <nm@ti.com>
Tue, 3 May 2022 11:58:10 +0000 (06:58 -0500)
commit2b7042500cab7952bdbf4fe4a84de8712b418c36
tree6e72c14f93ef4e26dd064e4823cd683b5e9034f9
parentb9e8a7d950ffed4cdd81e6457cfb8049227da2d1
soc: ti: pm33xx: 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: Nishanth Menon <nm@ti.com>
Reviewed-by: Tony Lindgren <tony@aotmide.com>
Link: https://lore.kernel.org/r/20220418063059.2558074-1-chi.minghao@zte.com.cn
drivers/soc/ti/pm33xx.c