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

* [PATCH 2/3] gpio: clps711x: Remove redundant of_match_ptr
  2013-09-28 12:04 [PATCH 1/3] gpio: adnp: Remove redundant of_match_ptr Sachin Kamat
@ 2013-09-28 12:04 ` 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:43 ` [PATCH 1/3] gpio: adnp: " Linus Walleij
  2 siblings, 1 reply; 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-clps711x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c
index 0edaf2c..0924f20 100644
--- a/drivers/gpio/gpio-clps711x.c
+++ b/drivers/gpio/gpio-clps711x.c
@@ -87,7 +87,7 @@ static struct platform_driver clps711x_gpio_driver = {
 	.driver	= {
 		.name		= "clps711x-gpio",
 		.owner		= THIS_MODULE,
-		.of_match_table	= of_match_ptr(clps711x_gpio_ids),
+		.of_match_table	= clps711x_gpio_ids,
 	},
 	.probe	= clps711x_gpio_probe,
 	.remove	= clps711x_gpio_remove,
-- 
1.7.9.5


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

* [PATCH 3/3] gpio: twl4030: Remove redundant of_match_ptr
  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-09-28 12:04 ` Sachin Kamat
  2013-10-02 10:44   ` Linus Walleij
  2013-10-02 10:43 ` [PATCH 1/3] gpio: adnp: " Linus Walleij
  2 siblings, 1 reply; 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-twl4030.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-twl4030.c b/drivers/gpio/gpio-twl4030.c
index d8e4f6e..0c7e891 100644
--- a/drivers/gpio/gpio-twl4030.c
+++ b/drivers/gpio/gpio-twl4030.c
@@ -594,7 +594,7 @@ static struct platform_driver gpio_twl4030_driver = {
 	.driver = {
 		.name	= "twl4030_gpio",
 		.owner	= THIS_MODULE,
-		.of_match_table = of_match_ptr(twl_gpio_match),
+		.of_match_table = twl_gpio_match,
 	},
 	.probe		= gpio_twl4030_probe,
 	.remove		= gpio_twl4030_remove,
-- 
1.7.9.5


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

* Re: [PATCH 1/3] gpio: adnp: Remove redundant of_match_ptr
  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-09-28 12:04 ` [PATCH 3/3] gpio: twl4030: " Sachin Kamat
@ 2013-10-02 10:43 ` Linus Walleij
  2 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2013-10-02 10:43 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio@vger.kernel.org

On Sat, Sep 28, 2013 at 2:04 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

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

Applied.

Yours,
Linus Walleij

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

* Re: [PATCH 2/3] gpio: clps711x: Remove redundant of_match_ptr
  2013-09-28 12:04 ` [PATCH 2/3] gpio: clps711x: " Sachin Kamat
@ 2013-10-02 10:43   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2013-10-02 10:43 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio@vger.kernel.org

On Sat, Sep 28, 2013 at 2:04 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

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

Applied.

Yours,
Linus Walleij

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

* Re: [PATCH 3/3] gpio: twl4030: Remove redundant of_match_ptr
  2013-09-28 12:04 ` [PATCH 3/3] gpio: twl4030: " Sachin Kamat
@ 2013-10-02 10:44   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2013-10-02 10:44 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio@vger.kernel.org

On Sat, Sep 28, 2013 at 2:04 PM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

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

Applied.

Yours,
Linus Walleij

^ permalink raw reply	[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).