projects
/
platform
/
kernel
/
linux-starfive.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
|
history
diff --git
a/drivers/iio/adc/vf610_adc.c
b/drivers/iio/adc/vf610_adc.c
index
767e9b9
..
d47fff0
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,