Re: [PATCH] drivers:staging:iio:cdc: Style fix.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23/01/17 13:14, Anthony Brandon wrote:
> Align parameters to parentheses.
> 
> Signed-off-by: Anthony Brandon <anthony@xxxxxxxxxxxxxxxxxxxx>
Applied to the togreg branch of iio.git.

Thanks,

Jonathan
> ---
>  drivers/staging/iio/cdc/ad7150.c | 30 +++++++++++++++---------------
>  1 file changed, 15 insertions(+), 15 deletions(-)
> 
> diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
> index c886751..ca72af3 100644
> --- a/drivers/staging/iio/cdc/ad7150.c
> +++ b/drivers/staging/iio/cdc/ad7150.c
> @@ -610,27 +610,27 @@ static int ad7150_probe(struct i2c_client *client,
>  
>  	if (client->irq) {
>  		ret = devm_request_threaded_irq(&client->dev, client->irq,
> -					   NULL,
> -					   &ad7150_event_handler,
> -					   IRQF_TRIGGER_RISING |
> -					   IRQF_TRIGGER_FALLING |
> -					   IRQF_ONESHOT,
> -					   "ad7150_irq1",
> -					   indio_dev);
> +						NULL,
> +						&ad7150_event_handler,
> +						IRQF_TRIGGER_RISING |
> +						IRQF_TRIGGER_FALLING |
> +						IRQF_ONESHOT,
> +						"ad7150_irq1",
> +						indio_dev);
>  		if (ret)
>  			return ret;
>  	}
>  
>  	if (client->dev.platform_data) {
>  		ret = devm_request_threaded_irq(&client->dev, *(unsigned int *)
> -					   client->dev.platform_data,
> -					   NULL,
> -					   &ad7150_event_handler,
> -					   IRQF_TRIGGER_RISING |
> -					   IRQF_TRIGGER_FALLING |
> -					   IRQF_ONESHOT,
> -					   "ad7150_irq2",
> -					   indio_dev);
> +						client->dev.platform_data,
> +						NULL,
> +						&ad7150_event_handler,
> +						IRQF_TRIGGER_RISING |
> +						IRQF_TRIGGER_FALLING |
> +						IRQF_ONESHOT,
> +						"ad7150_irq2",
> +						indio_dev);
>  		if (ret)
>  			return ret;
>  	}
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux