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

* [PATCH 2/2] gpio: tb10x: Remove redundant of_match_ptr helper
  2013-12-21 10:27 [PATCH 1/2] gpio: lp3943: Remove redundant of_match_ptr helper Sachin Kamat
@ 2013-12-21 10:27 ` Sachin Kamat
  2014-01-02 13:03   ` Linus Walleij
  2014-01-02 13:02 ` [PATCH 1/2] gpio: lp3943: " Linus Walleij
  1 sibling, 1 reply; 6+ messages in thread
From: Sachin Kamat @ 2013-12-21 10:27 UTC (permalink / raw)
  To: linux-gpio; +Cc: linus.walleij, sachin.kamat

'tb10x_gpio_dt_ids' is always compiled in. Hence the
helper macro is not needed.

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

diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index 3162555ca1cb..07bce97647a6 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -318,7 +318,7 @@ static struct platform_driver tb10x_gpio_driver = {
 	.remove		= tb10x_gpio_remove,
 	.driver = {
 		.name	= "tb10x-gpio",
-		.of_match_table = of_match_ptr(tb10x_gpio_dt_ids),
+		.of_match_table = tb10x_gpio_dt_ids,
 		.owner	= THIS_MODULE,
 	}
 };
-- 
1.7.9.5


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

* Re: [PATCH 1/2] gpio: lp3943: Remove redundant of_match_ptr helper
  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:02 ` Linus Walleij
  2014-01-06 11:07   ` Lee Jones
  1 sibling, 1 reply; 6+ messages in thread
From: Linus Walleij @ 2014-01-02 13:02 UTC (permalink / raw)
  To: Sachin Kamat, Lee Jones, Samuel Ortiz,
	linux-kernel@vger.kernel.org
  Cc: linux-gpio@vger.kernel.org

On Sat, Dec 21, 2013 at 11:27 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

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

This driver is merged into the MFD tree, you need Lee or
Sam to apply it.

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij

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

* Re: [PATCH 2/2] gpio: tb10x: Remove redundant of_match_ptr helper
  2013-12-21 10:27 ` [PATCH 2/2] gpio: tb10x: " Sachin Kamat
@ 2014-01-02 13:03   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2014-01-02 13:03 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-gpio@vger.kernel.org

On Sat, Dec 21, 2013 at 11:27 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:

> 'tb10x_gpio_dt_ids' is always compiled in. Hence the
> helper macro is not needed.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Patch applied.

Yours,
Linus Walleij

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

* Re: [PATCH 1/2] gpio: lp3943: Remove redundant of_match_ptr helper
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Jones @ 2014-01-06 11:07 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Sachin Kamat, Samuel Ortiz, linux-kernel@vger.kernel.org,
	linux-gpio@vger.kernel.org

On Thu, 02 Jan 2014, Linus Walleij wrote:

> On Sat, Dec 21, 2013 at 11:27 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 
> > '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 +-
> 
> This driver is merged into the MFD tree, you need Lee or
> Sam to apply it.
> 
> Acked-by: Linus Walleij <linus.walleij@linaro.org>

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

* Re: [PATCH 1/2] gpio: lp3943: Remove redundant of_match_ptr helper
  2014-01-06 11:07   ` Lee Jones
@ 2014-01-06 12:15     ` Lee Jones
  0 siblings, 0 replies; 6+ messages in thread
From: Lee Jones @ 2014-01-06 12:15 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Sachin Kamat, Samuel Ortiz, linux-kernel@vger.kernel.org,
	linux-gpio@vger.kernel.org

On Mon, 06 Jan 2014, Lee Jones wrote:

> On Thu, 02 Jan 2014, Linus Walleij wrote:
> 
> > On Sat, Dec 21, 2013 at 11:27 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> > 
> > > '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 +-
> > 
> > This driver is merged into the MFD tree, you need Lee or
> > Sam to apply it.
> > 
> > Acked-by: Linus Walleij <linus.walleij@linaro.org>
> 
> Applied, thanks.

Whoops, jumped ahead of the gun there. I don't have this in my inbox.

Sachin, can you send again with Linus' Ack please?

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