linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] gpio: adnp: Remove redundant of_match_ptr
@ 2013-09-28 12:04 Sachin Kamat
  2013-09-28 12:04 ` [PATCH 2/3] gpio: clps711x: " Sachin Kamat
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:04 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, sachin.kamat

The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/gpio/gpio-adnp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-adnp.c b/drivers/gpio/gpio-adnp.c
index c0f3fc4..6439e0e 100644
--- a/drivers/gpio/gpio-adnp.c
+++ b/drivers/gpio/gpio-adnp.c
@@ -594,7 +594,7 @@ static struct i2c_driver adnp_i2c_driver = {
 	.driver = {
 		.name = "gpio-adnp",
 		.owner = THIS_MODULE,
-		.of_match_table = of_match_ptr(adnp_of_match),
+		.of_match_table = adnp_of_match,
 	},
 	.probe = adnp_i2c_probe,
 	.remove = adnp_i2c_remove,
-- 
1.7.9.5


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

end of thread, other threads:[~2013-10-02 10:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-28 12:04 [PATCH 1/3] gpio: adnp: Remove redundant of_match_ptr Sachin Kamat
2013-09-28 12:04 ` [PATCH 2/3] gpio: clps711x: " Sachin Kamat
2013-10-02 10:43   ` Linus Walleij
2013-09-28 12:04 ` [PATCH 3/3] gpio: twl4030: " Sachin Kamat
2013-10-02 10:44   ` Linus Walleij
2013-10-02 10:43 ` [PATCH 1/3] gpio: adnp: " Linus Walleij

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