projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da64c2
)
iio: adc: vf610: SIMPLE_DEV_PM_OPS can fit on a single line
author
Fabio Estevam
<fabio.estevam@freescale.com>
Fri, 3 Oct 2014 01:25:25 +0000
(22:25 -0300)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 4 Oct 2014 11:31:05 +0000
(12:31 +0100)
No need to call the SIMPLE_DEV_PM_OPS() macro in several lines.
It can fit into the 80-column range.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/vf610_adc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/vf610_adc.c
b/drivers/iio/adc/vf610_adc.c
index 767e9b975f0007312ef8e8a72781066f4cb989a3..d47fff003b78dbdb90d39c800949b34b7a42c3f2 100644
(file)
--- a/
drivers/iio/adc/vf610_adc.c
+++ b/
drivers/iio/adc/vf610_adc.c
@@
-716,9
+716,7
@@
disable_reg:
}
#endif
-static SIMPLE_DEV_PM_OPS(vf610_adc_pm_ops,
- vf610_adc_suspend,
- vf610_adc_resume);
+static SIMPLE_DEV_PM_OPS(vf610_adc_pm_ops, vf610_adc_suspend, vf610_adc_resume);
static struct platform_driver vf610_adc_driver = {
.probe = vf610_adc_probe,