Skip to content

Commit

Permalink
iio: adc: vf610: SIMPLE_DEV_PM_OPS can fit on a single line
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Jonathan Cameron committed Oct 4, 2014
1 parent 9da64c2 commit ef0d545
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/iio/adc/vf610_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,7 @@ static int vf610_adc_resume(struct device *dev)
}
#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,
Expand Down

0 comments on commit ef0d545

Please sign in to comment.