linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] gpio: lp3943: Remove redundant of_match_ptr helper
@ 2013-12-21 10:27 Sachin Kamat
  2013-12-21 10:27 ` [PATCH 2/2] gpio: tb10x: " Sachin Kamat
  2014-01-02 13:02 ` [PATCH 1/2] gpio: lp3943: " Linus Walleij
  0 siblings, 2 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-12-21 10:27 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, 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>
---
 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] 6+ messages in thread

end of thread, other threads:[~2014-01-06 12:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 10:27 [PATCH 1/2] gpio: lp3943: Remove redundant of_match_ptr helper Sachin Kamat
2013-12-21 10:27 ` [PATCH 2/2] gpio: tb10x: " Sachin Kamat
2014-01-02 13:03   ` Linus Walleij
2014-01-02 13:02 ` [PATCH 1/2] gpio: lp3943: " Linus Walleij
2014-01-06 11:07   ` Lee Jones
2014-01-06 12:15     ` Lee Jones

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).