Commit f5d2f9c2 authored by Fabio Estevam's avatar Fabio Estevam Committed by Jonathan Cameron

iio: imx7d_adc: Fit into a single line

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: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 9ce92da8
...@@ -531,9 +531,7 @@ static int imx7d_adc_probe(struct platform_device *pdev) ...@@ -531,9 +531,7 @@ static int imx7d_adc_probe(struct platform_device *pdev)
indio_dev->channels = imx7d_adc_iio_channels; indio_dev->channels = imx7d_adc_iio_channels;
indio_dev->num_channels = ARRAY_SIZE(imx7d_adc_iio_channels); indio_dev->num_channels = ARRAY_SIZE(imx7d_adc_iio_channels);
ret = devm_request_irq(dev, irq, ret = devm_request_irq(dev, irq, imx7d_adc_isr, 0, dev_name(dev), info);
imx7d_adc_isr, 0,
dev_name(dev), info);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "Failed requesting irq, irq = %d\n", irq); dev_err(dev, "Failed requesting irq, irq = %d\n", irq);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment