From: Lee Jones <lee.jones@linaro.org>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-gpio@vger.kernel.org
Subject: Re: [PATCH Resend] gpio: lp3943: Remove redundant of_match_ptr helper
Date: Tue, 7 Jan 2014 07:39:40 +0000 [thread overview]
Message-ID: <20140107073940.GA3182@lee--X1> (raw)
In-Reply-To: <1389076038-16730-1-git-send-email-sachin.kamat@linaro.org>
> 'lp3943_gpio_of_match' is always compiled in. Hence the
> helper macro is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> drivers/gpio/gpio-lp3943.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943.c
> index 7b8db88ebb7b..a0341c92bcb4 100644
> --- a/drivers/gpio/gpio-lp3943.c
> +++ b/drivers/gpio/gpio-lp3943.c
> @@ -231,7 +231,7 @@ static struct platform_driver lp3943_gpio_driver = {
> .driver = {
> .name = "lp3943-gpio",
> .owner = THIS_MODULE,
> - .of_match_table = of_match_ptr(lp3943_gpio_of_match),
> + .of_match_table = lp3943_gpio_of_match,
> },
> };
> module_platform_driver(lp3943_gpio_driver);
Applied, thanks.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-01-07 7:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-07 6:27 [PATCH Resend] gpio: lp3943: Remove redundant of_match_ptr helper Sachin Kamat
2014-01-07 7:39 ` Lee Jones [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=20140107073940.GA3182@lee--X1 \
--to=lee.jones@linaro.org \
--cc=linux-gpio@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.