linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr
@ 2013-10-15  3:48 Sachin Kamat
  2013-10-15  3:48 ` [PATCH 2/6] mfd: tps65217: " Sachin Kamat
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Sachin Kamat @ 2013-10-15  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, 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/mfd/max8925-i2c.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/max8925-i2c.c b/drivers/mfd/max8925-i2c.c
index de7fb80..176aa26 100644
--- a/drivers/mfd/max8925-i2c.c
+++ b/drivers/mfd/max8925-i2c.c
@@ -238,7 +238,7 @@ static struct i2c_driver max8925_driver = {
 		.name	= "max8925",
 		.owner	= THIS_MODULE,
 		.pm     = &max8925_pm_ops,
-		.of_match_table = of_match_ptr(max8925_dt_ids),
+		.of_match_table = max8925_dt_ids,
 	},
 	.probe		= max8925_probe,
 	.remove		= max8925_remove,
-- 
1.7.9.5


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

* [PATCH 2/6] mfd: tps65217: Remove redundant of_match_ptr
  2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
@ 2013-10-15  3:48 ` Sachin Kamat
  2013-10-15  3:48 ` [PATCH 3/6] mfd: 88pm860x: " Sachin Kamat
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Sachin Kamat @ 2013-10-15  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, 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/mfd/tps65217.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/tps65217.c b/drivers/mfd/tps65217.c
index b8f4864..b7be0b2 100644
--- a/drivers/mfd/tps65217.c
+++ b/drivers/mfd/tps65217.c
@@ -245,7 +245,7 @@ static struct i2c_driver tps65217_driver = {
 	.driver		= {
 		.name	= "tps65217",
 		.owner	= THIS_MODULE,
-		.of_match_table = of_match_ptr(tps65217_of_match),
+		.of_match_table = tps65217_of_match,
 	},
 	.id_table	= tps65217_id_table,
 	.probe		= tps65217_probe,
-- 
1.7.9.5


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

* [PATCH 3/6] mfd: 88pm860x: Remove redundant of_match_ptr
  2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
  2013-10-15  3:48 ` [PATCH 2/6] mfd: tps65217: " Sachin Kamat
@ 2013-10-15  3:48 ` Sachin Kamat
  2013-10-15  3:48 ` [PATCH 4/6] mfd: ti_am335x_tscadc: " Sachin Kamat
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Sachin Kamat @ 2013-10-15  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, 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/mfd/88pm860x-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c
index 7ebe9ef..c9b1f64 100644
--- a/drivers/mfd/88pm860x-core.c
+++ b/drivers/mfd/88pm860x-core.c
@@ -1247,7 +1247,7 @@ static struct i2c_driver pm860x_driver = {
 		.name	= "88PM860x",
 		.owner	= THIS_MODULE,
 		.pm     = &pm860x_pm_ops,
-		.of_match_table	= of_match_ptr(pm860x_dt_ids),
+		.of_match_table	= pm860x_dt_ids,
 	},
 	.probe		= pm860x_probe,
 	.remove		= pm860x_remove,
-- 
1.7.9.5


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

* [PATCH 4/6] mfd: ti_am335x_tscadc: Remove redundant of_match_ptr
  2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
  2013-10-15  3:48 ` [PATCH 2/6] mfd: tps65217: " Sachin Kamat
  2013-10-15  3:48 ` [PATCH 3/6] mfd: 88pm860x: " Sachin Kamat
@ 2013-10-15  3:48 ` Sachin Kamat
  2013-10-15  3:48 ` [PATCH 5/6] mfd: omap-usb: " Sachin Kamat
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Sachin Kamat @ 2013-10-15  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, 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/mfd/ti_am335x_tscadc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c
index a3685d6..e5a40e8 100644
--- a/drivers/mfd/ti_am335x_tscadc.c
+++ b/drivers/mfd/ti_am335x_tscadc.c
@@ -328,7 +328,7 @@ static struct platform_driver ti_tscadc_driver = {
 		.name   = "ti_am3359-tscadc",
 		.owner	= THIS_MODULE,
 		.pm	= TSCADC_PM_OPS,
-		.of_match_table = of_match_ptr(ti_tscadc_dt_ids),
+		.of_match_table = ti_tscadc_dt_ids,
 	},
 	.probe	= ti_tscadc_probe,
 	.remove	= ti_tscadc_remove,
-- 
1.7.9.5


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

* [PATCH 5/6] mfd: omap-usb: Remove redundant of_match_ptr
  2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
                   ` (2 preceding siblings ...)
  2013-10-15  3:48 ` [PATCH 4/6] mfd: ti_am335x_tscadc: " Sachin Kamat
@ 2013-10-15  3:48 ` Sachin Kamat
  2013-10-15  3:48 ` [PATCH 6/6] mfd: palmas: " Sachin Kamat
  2013-10-15 12:52 ` [PATCH Resend 1/6] mfd: max8925: " Lee Jones
  5 siblings, 0 replies; 8+ messages in thread
From: Sachin Kamat @ 2013-10-15  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, 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/mfd/omap-usb-host.c |    2 +-
 drivers/mfd/omap-usb-tll.c  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 29ee54d..1b65ffe 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -893,7 +893,7 @@ static struct platform_driver usbhs_omap_driver = {
 		.name		= (char *)usbhs_driver_name,
 		.owner		= THIS_MODULE,
 		.pm		= &usbhsomap_dev_pm_ops,
-		.of_match_table = of_match_ptr(usbhs_omap_dt_ids),
+		.of_match_table = usbhs_omap_dt_ids,
 	},
 	.remove		= usbhs_omap_remove,
 };
diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c
index e59ac4c..b8f6401 100644
--- a/drivers/mfd/omap-usb-tll.c
+++ b/drivers/mfd/omap-usb-tll.c
@@ -320,7 +320,7 @@ static struct platform_driver usbtll_omap_driver = {
 	.driver = {
 		.name		= (char *)usbtll_driver_name,
 		.owner		= THIS_MODULE,
-		.of_match_table = of_match_ptr(usbtll_omap_dt_ids),
+		.of_match_table = usbtll_omap_dt_ids,
 	},
 	.probe		= usbtll_omap_probe,
 	.remove		= usbtll_omap_remove,
-- 
1.7.9.5


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

* [PATCH 6/6] mfd: palmas: Remove redundant of_match_ptr
  2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
                   ` (3 preceding siblings ...)
  2013-10-15  3:48 ` [PATCH 5/6] mfd: omap-usb: " Sachin Kamat
@ 2013-10-15  3:48 ` Sachin Kamat
  2013-10-15 12:52 ` [PATCH Resend 1/6] mfd: max8925: " Lee Jones
  5 siblings, 0 replies; 8+ messages in thread
From: Sachin Kamat @ 2013-10-15  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, sachin.kamat, Graeme Gregory

'of_palmas_match_tbl' is always compiled in. Hence of_match_ptr() is
not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Graeme Gregory <gg@slimlogic.co.uk>
---
 drivers/mfd/palmas.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/palmas.c b/drivers/mfd/palmas.c
index ae91478..d280d78 100644
--- a/drivers/mfd/palmas.c
+++ b/drivers/mfd/palmas.c
@@ -403,7 +403,7 @@ static int palmas_i2c_probe(struct i2c_client *i2c,
 	palmas->dev = &i2c->dev;
 	palmas->irq = i2c->irq;
 
-	match = of_match_device(of_match_ptr(of_palmas_match_tbl), &i2c->dev);
+	match = of_match_device(of_palmas_match_tbl, &i2c->dev);
 
 	if (!match)
 		return -ENODATA;
-- 
1.7.9.5


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

* Re: [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr
  2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
                   ` (4 preceding siblings ...)
  2013-10-15  3:48 ` [PATCH 6/6] mfd: palmas: " Sachin Kamat
@ 2013-10-15 12:52 ` Lee Jones
       [not found]   ` <CAK9yfHya4QNwi+4Si9DyVUCQexOQncq4Yv0Gh1EnSZSv+h54uw@mail.gmail.com>
  5 siblings, 1 reply; 8+ messages in thread
From: Lee Jones @ 2013-10-15 12:52 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-kernel, Lee Jones

Still something odd going on with my mails, but I have applied all
patches in this series, manually!

On Tue, Oct 15, 2013 at 4:48 AM, 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>
> ---
>  drivers/mfd/max8925-i2c.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/max8925-i2c.c b/drivers/mfd/max8925-i2c.c
> index de7fb80..176aa26 100644
> --- a/drivers/mfd/max8925-i2c.c
> +++ b/drivers/mfd/max8925-i2c.c
> @@ -238,7 +238,7 @@ static struct i2c_driver max8925_driver = {
>                 .name   = "max8925",
>                 .owner  = THIS_MODULE,
>                 .pm     = &max8925_pm_ops,
> -               .of_match_table = of_match_ptr(max8925_dt_ids),
> +               .of_match_table = max8925_dt_ids,
>         },
>         .probe          = max8925_probe,
>         .remove         = max8925_remove,
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

* Re: [PATCH 1/5] mfd: max8925: Remove redundant of_match_ptr
       [not found]   ` <CAK9yfHya4QNwi+4Si9DyVUCQexOQncq4Yv0Gh1EnSZSv+h54uw@mail.gmail.com>
@ 2013-10-15 13:47     ` Lee Jones
  0 siblings, 0 replies; 8+ messages in thread
From: Lee Jones @ 2013-10-15 13:47 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: Lee Jones, linux-kernel

On Tue, 15 Oct 2013, Sachin Kamat wrote:

> On Tuesday, 15 October 2013, Lee Jones <ljkenny.mailinglists@gmail.com>
> wrote:
> > Still something odd going on with my mails, but I have applied all
> > patches in this series, manually!
> 
> Sounds strange. Thank you for taking the trouble to apply manually. Is
> there anything that i can do to help you as I have one more series to post.

I have fiddled with a couple of things, try to send them normally.

-- 
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] 8+ messages in thread

end of thread, other threads:[~2013-10-15 13:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-15  3:48 [PATCH Resend 1/6] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
2013-10-15  3:48 ` [PATCH 2/6] mfd: tps65217: " Sachin Kamat
2013-10-15  3:48 ` [PATCH 3/6] mfd: 88pm860x: " Sachin Kamat
2013-10-15  3:48 ` [PATCH 4/6] mfd: ti_am335x_tscadc: " Sachin Kamat
2013-10-15  3:48 ` [PATCH 5/6] mfd: omap-usb: " Sachin Kamat
2013-10-15  3:48 ` [PATCH 6/6] mfd: palmas: " Sachin Kamat
2013-10-15 12:52 ` [PATCH Resend 1/6] mfd: max8925: " Lee Jones
     [not found]   ` <CAK9yfHya4QNwi+4Si9DyVUCQexOQncq4Yv0Gh1EnSZSv+h54uw@mail.gmail.com>
2013-10-15 13:47     ` [PATCH 1/5] " 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).