Skip to content

Commit

Permalink
iio: imx7d_adc: Fit into a single line
Browse files Browse the repository at this point in the history
All the parameters of devm_request_irq() can fit into a
single line, so place them all in a single line
for better readability.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
  • Loading branch information
Fabio Estevam authored and Jonathan Cameron committed Jun 17, 2019
1 parent 9ce92da commit f5d2f9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/iio/adc/imx7d_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,7 @@ static int imx7d_adc_probe(struct platform_device *pdev)
indio_dev->channels = imx7d_adc_iio_channels;
indio_dev->num_channels = ARRAY_SIZE(imx7d_adc_iio_channels);

ret = devm_request_irq(dev, irq,
imx7d_adc_isr, 0,
dev_name(dev), info);
ret = devm_request_irq(dev, irq, imx7d_adc_isr, 0, dev_name(dev), info);
if (ret < 0) {
dev_err(dev, "Failed requesting irq, irq = %d\n", irq);
return ret;
Expand Down

0 comments on commit f5d2f9c

Please sign in to comment.