spi: spi-tegra20-slink: 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:41 +0000 (11:01 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 25 Apr 2022 13:01:06 +0000 (14:01 +0100)
commit1e6f8bd15cf8447a42375b005476e02fc13deb2a
tree1f2e1227c149ee850e9743ba7c0a734114bf5b72
parent1aeda0966693574c07c5fa72adf41be43d491f96
spi: spi-tegra20-slink: 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/20220418110141.2559019-1-chi.minghao@zte.com.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra20-slink.c