mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02: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
|
|
@ -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 New Issue
Block a user