All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH Resend] gpio: lp3943: Remove redundant of_match_ptr helper
@ 2014-01-07  6:27 Sachin Kamat
  2014-01-07  7:39 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2014-01-07  6:27 UTC (permalink / raw)
  To: linux-gpio; +Cc: lee.jones, sachin.kamat

'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);
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH Resend] gpio: lp3943: Remove redundant of_match_ptr helper
  2014-01-07  6:27 [PATCH Resend] gpio: lp3943: Remove redundant of_match_ptr helper Sachin Kamat
@ 2014-01-07  7:39 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-01-07  7:39 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-07  7:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.