projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
278c48d
)
spi: fsl-espi: simplify of_fsl_espi_suspend
author
Heiner Kallweit
<hkallweit1@gmail.com>
Tue, 15 Nov 2016 20:37:17 +0000
(21:37 +0100)
committer
Mark Brown
<broonie@kernel.org>
Wed, 16 Nov 2016 14:59:38 +0000
(14:59 +0000)
Simplify of_fsl_espi_suspend a little.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsl-espi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-fsl-espi.c
b/drivers/spi/spi-fsl-espi.c
index b5feae31fcc08b0aac1015690e6a4d949dc91dec..2635a33b8e98476ad06d4ee01416aa2c9b50ae6c 100644
(file)
--- a/
drivers/spi/spi-fsl-espi.c
+++ b/
drivers/spi/spi-fsl-espi.c
@@
-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)