projects
/
GitHub
/
LineageOS
/
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:
38dbfb5
)
spi: bcm63xx-hsspi: Use SIMPLE_DEV_PM_OPS macro
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 26 Feb 2014 01:28:24 +0000
(10:28 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 5 Mar 2014 04:46:24 +0000
(12:46 +0800)
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-bcm63xx-hsspi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-bcm63xx-hsspi.c
b/drivers/spi/spi-bcm63xx-hsspi.c
index b528f9fc8bc01959a4746f4a239b8c43b31e0577..13bbce349ed984d53a08d28e50830187c51134d5 100644
(file)
--- a/
drivers/spi/spi-bcm63xx-hsspi.c
+++ b/
drivers/spi/spi-bcm63xx-hsspi.c
@@
-453,9
+453,8
@@
static int bcm63xx_hsspi_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops bcm63xx_hsspi_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(bcm63xx_hsspi_suspend, bcm63xx_hsspi_resume)
-};
+static SIMPLE_DEV_PM_OPS(bcm63xx_hsspi_pm_ops, bcm63xx_hsspi_suspend,
+ bcm63xx_hsspi_resume);
static struct platform_driver bcm63xx_hsspi_driver = {
.driver = {