Re: [PATCH] staging: ad7606_core: Fix checkpatch warning

From: Jonathan Cameron
Date: Sun Aug 31 2014 - 06:40:35 EST


On 31/08/14 07:57, SÃren Brinkmann wrote:
> Fix the checkpatch complaint regarding unnecessary line continuation.
> WARNING: Avoid unnecessary line continuations
> #143: FILE: ad7606_core.c:143:
>
> Signed-off-by: SÃren Brinkmann <soeren.brinkmann@xxxxxxxxx>
Applied to the togreg branch of iio.git. Initially pushed out as testing for the
autobuilders to play.

Thanks,

Jonathan
> ---
> drivers/staging/iio/adc/ad7606_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/iio/adc/ad7606_core.c b/drivers/staging/iio/adc/ad7606_core.c
> index f0f05f195d2c..bf2c8013134c 100644
> --- a/drivers/staging/iio/adc/ad7606_core.c
> +++ b/drivers/staging/iio/adc/ad7606_core.c
> @@ -140,7 +140,7 @@ static ssize_t ad7606_store_range(struct device *dev,
> return count;
> }
>
> -static IIO_DEVICE_ATTR(in_voltage_range, S_IRUGO | S_IWUSR, \
> +static IIO_DEVICE_ATTR(in_voltage_range, S_IRUGO | S_IWUSR,
> ad7606_show_range, ad7606_store_range, 0);
> static IIO_CONST_ATTR(in_voltage_range_available, "5000 10000");
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/