From: Jonathan Cameron <jic23@kernel.org>
To: Colin King <colin.king@canonical.com>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald <pmeerw@pmeerw.net>,
Jacob Pan <jacob.jun.pan@linux.intel.com>,
Krzysztof Kozlowski <k.kozlowski.k@gmail.com>,
linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels
Date: Sat, 23 Jan 2016 16:34:19 +0000 [thread overview]
Message-ID: <56A3AB8B.5050904@kernel.org> (raw)
In-Reply-To: <1453484962-25247-1-git-send-email-colin.king@canonical.com>
On 22/01/16 17:49, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> duplicate const can be removed, it is redundant. Found by static
> analysis using smatch.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
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,
>
prev parent reply other threads:[~2016-01-23 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-22 17:49 Colin King
2016-01-23 16:34 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A3AB8B.5050904@kernel.org \
--to=jic23@kernel.org \
--cc=colin.king@canonical.com \
--cc=jacob.jun.pan@linux.intel.com \
--cc=k.kozlowski.k@gmail.com \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome