From: Jonathan Cameron <jic23@kernel.org>
To: Sachin Kamat <sachin.kamat@linaro.org>, linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: adc: ti_am335x_adc: Remove redundant of_match_ptr
Date: Wed, 23 Oct 2013 17:52:51 +0100 [thread overview]
Message-ID: <5267FEE3.6070908@kernel.org> (raw)
In-Reply-To: <1382347649-3382-2-git-send-email-sachin.kamat@linaro.org>
On 10/21/13 10:27, Sachin Kamat wrote:
> ti_adc_dt_ids is always compiled in. Hence of_match_ptr is not
> needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Applied
> ---
> drivers/iio/adc/ti_am335x_adc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
> index 8fb5429..ef553d0 100644
> --- a/drivers/iio/adc/ti_am335x_adc.c
> +++ b/drivers/iio/adc/ti_am335x_adc.c
> @@ -515,7 +515,7 @@ static struct platform_driver tiadc_driver = {
> .name = "TI-am335x-adc",
> .owner = THIS_MODULE,
> .pm = TIADC_PM_OPS,
> - .of_match_table = of_match_ptr(ti_adc_dt_ids),
> + .of_match_table = ti_adc_dt_ids,
> },
> .probe = tiadc_probe,
> .remove = tiadc_remove,
>
next prev parent reply other threads:[~2013-10-23 15:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 9:27 [PATCH 1/2] iio: adc: nau7802: Remove redundant of_match_ptr Sachin Kamat
2013-10-21 9:27 ` [PATCH 2/2] iio: adc: ti_am335x_adc: " Sachin Kamat
2013-10-23 16:52 ` Jonathan Cameron [this message]
2013-10-23 16:52 ` [PATCH 1/2] iio: adc: nau7802: " Jonathan Cameron
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=5267FEE3.6070908@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=sachin.kamat@linaro.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;
as well as URLs for NNTP newsgroup(s).