Re: [PATCH] iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels

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

 



On 22/01/16 17:49, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> 
> duplicate const can be removed, it is redundant. Found by static
> analysis using smatch.
> 
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied, thanks,

Jonathan
> ---
>  drivers/iio/adc/axp288_adc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/axp288_adc.c b/drivers/iio/adc/axp288_adc.c
> index 0c904ed..7fd2494 100644
> --- a/drivers/iio/adc/axp288_adc.c
> +++ b/drivers/iio/adc/axp288_adc.c
> @@ -46,7 +46,7 @@ struct axp288_adc_info {
>  	struct regmap *regmap;
>  };
>  
> -static const struct iio_chan_spec const axp288_adc_channels[] = {
> +static const struct iio_chan_spec axp288_adc_channels[] = {
>  	{
>  		.indexed = 1,
>  		.type = IIO_TEMP,
> 

--
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