From: Jonathan Cameron <jic23@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: linux-iio <linux-iio@vger.kernel.org>,
Jonathan Cameron <Jonathan.Cameron@huawei.com>,
Gene Chen <gene_chen@richtek.com>
Subject: Re: [PATCH] iio: adc: mt6360: Drop an incorrect __maybe_unused marking.
Date: Sat, 13 Aug 2022 17:07:34 +0100 [thread overview]
Message-ID: <20220813170734.042e5b62@jic23-huawei> (raw)
In-Reply-To: <CAHp75VcJ6wX4+f9TG-WhiXDu+qrxf+BOfOyDQmJHjYTM8LXP1Q@mail.gmail.com>
On Mon, 8 Aug 2022 11:22:37 +0200
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> On Sun, Aug 7, 2022 at 6:47 PM Jonathan Cameron <jic23@kernel.org> wrote:
> >
> > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> >
> > Given the struct platform_driver has one of it's elements assigned to
> > point to the of_device_id table, it is never going to be unused.
> >
> > Drop the marking.
>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Thanks,
Applied
>
> > Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Gene Chen <gene_chen@richtek.com>
> > ---
> > drivers/iio/adc/mt6360-adc.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/adc/mt6360-adc.c b/drivers/iio/adc/mt6360-adc.c
> > index 35260d9e4e47..3710473e526f 100644
> > --- a/drivers/iio/adc/mt6360-adc.c
> > +++ b/drivers/iio/adc/mt6360-adc.c
> > @@ -353,7 +353,7 @@ static int mt6360_adc_probe(struct platform_device *pdev)
> > return devm_iio_device_register(&pdev->dev, indio_dev);
> > }
> >
> > -static const struct of_device_id __maybe_unused mt6360_adc_of_id[] = {
> > +static const struct of_device_id mt6360_adc_of_id[] = {
> > { .compatible = "mediatek,mt6360-adc", },
> > {}
> > };
> > --
> > 2.37.1
> >
>
>
prev parent reply other threads:[~2022-08-13 15:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-07 16:21 [PATCH] iio: adc: mt6360: Drop an incorrect __maybe_unused marking Jonathan Cameron
2022-08-08 9:22 ` Andy Shevchenko
2022-08-13 16:07 ` 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=20220813170734.042e5b62@jic23-huawei \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=andy.shevchenko@gmail.com \
--cc=gene_chen@richtek.com \
--cc=linux-iio@vger.kernel.org \
/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