mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
spi: fsl-espi: simplify of_fsl_espi_suspend
Simplify of_fsl_espi_suspend a little. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
278c48d2ab
commit
a9a813ddc5
1 changed files with 1 additions and 5 deletions
|
|
@ -783,11 +783,7 @@ static int of_fsl_espi_suspend(struct device *dev)
|
|||
return ret;
|
||||
}
|
||||
|
||||
ret = pm_runtime_force_suspend(dev);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
||||
return 0;
|
||||
return pm_runtime_force_suspend(dev);
|
||||
}
|
||||
|
||||
static int of_fsl_espi_resume(struct device *dev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue