* [PATCH 2/5] mfd: tps65217: Remove redundant of_match_ptr
2013-09-28 12:14 [PATCH 1/5] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
@ 2013-09-28 12:14 ` Sachin Kamat
2013-09-28 12:14 ` [PATCH 3/5] mfd: 88pm860x: " Sachin Kamat
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:14 UTC (permalink / raw)
To: linux-kernel; +Cc: lee.jones, sameo, 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 [flat|nested] 5+ messages in thread* [PATCH 3/5] mfd: 88pm860x: Remove redundant of_match_ptr
2013-09-28 12:14 [PATCH 1/5] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
2013-09-28 12:14 ` [PATCH 2/5] mfd: tps65217: " Sachin Kamat
@ 2013-09-28 12:14 ` Sachin Kamat
2013-09-28 12:14 ` [PATCH 4/5] mfd: ti_am335x_tscadc: " Sachin Kamat
2013-09-28 12:14 ` [PATCH 5/5] mfd: omap-usb: " Sachin Kamat
3 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:14 UTC (permalink / raw)
To: linux-kernel; +Cc: lee.jones, sameo, 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 [flat|nested] 5+ messages in thread* [PATCH 4/5] mfd: ti_am335x_tscadc: Remove redundant of_match_ptr
2013-09-28 12:14 [PATCH 1/5] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
2013-09-28 12:14 ` [PATCH 2/5] mfd: tps65217: " Sachin Kamat
2013-09-28 12:14 ` [PATCH 3/5] mfd: 88pm860x: " Sachin Kamat
@ 2013-09-28 12:14 ` Sachin Kamat
2013-09-28 12:14 ` [PATCH 5/5] mfd: omap-usb: " Sachin Kamat
3 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:14 UTC (permalink / raw)
To: linux-kernel; +Cc: lee.jones, sameo, 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 [flat|nested] 5+ messages in thread* [PATCH 5/5] mfd: omap-usb: Remove redundant of_match_ptr
2013-09-28 12:14 [PATCH 1/5] mfd: max8925: Remove redundant of_match_ptr Sachin Kamat
` (2 preceding siblings ...)
2013-09-28 12:14 ` [PATCH 4/5] mfd: ti_am335x_tscadc: " Sachin Kamat
@ 2013-09-28 12:14 ` Sachin Kamat
3 siblings, 0 replies; 5+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:14 UTC (permalink / raw)
To: linux-kernel; +Cc: lee.jones, sameo, 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 [flat|nested] 5+ messages in thread