OSDN Git Service

iio: imx7d_adc: Fit into a single line
authorFabio Estevam <festevam@gmail.com>
Mon, 3 Jun 2019 19:34:32 +0000 (16:34 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 17 Jun 2019 20:06:44 +0000 (21:06 +0100)
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>
drivers/iio/adc/imx7d_adc.c

index d778407..e31d1a5 100644 (file)
@@ -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;