spi: spi-tegra20-sflash: using pm_runtime_resume_and_get instead of pm_runtime_get_sync
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 18 Apr 2022 11:01:03 +0000 (11:01 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 13:01:03 +0000 (14:01 +0100)
commit2b8070840e6f48b5406ebe1630a0335843109799
tree11fac25b1e686161eca7a0d156a3d4f10bd98d7c
parentd5d933f09ac326aebad85bfb787cc786ad477711
spi: spi-tegra20-sflash: 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>
Link: https://lore.kernel.org/r/20220418110103.2558955-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra20-sflash.c