* [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr
@ 2013-09-28 12:28 Sachin Kamat
2013-09-28 12:28 ` [PATCH 2/6] Input: nspire-keypad " Sachin Kamat
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:28 UTC (permalink / raw)
To: linux-input; +Cc: dmitry.torokhov, 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/input/keyboard/lpc32xx-keys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/lpc32xx-keys.c b/drivers/input/keyboard/lpc32xx-keys.c
index 4218143..8b1b013 100644
--- a/drivers/input/keyboard/lpc32xx-keys.c
+++ b/drivers/input/keyboard/lpc32xx-keys.c
@@ -383,7 +383,7 @@ static struct platform_driver lpc32xx_kscan_driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
.pm = &lpc32xx_kscan_pm_ops,
- .of_match_table = of_match_ptr(lpc32xx_kscan_match),
+ .of_match_table = lpc32xx_kscan_match,
}
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/6] Input: nspire-keypad - Remove redundant of_match_ptr
2013-09-28 12:28 [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr Sachin Kamat
@ 2013-09-28 12:28 ` Sachin Kamat
2013-09-28 12:28 ` [PATCH 3/6] Input: tegra-kbc " Sachin Kamat
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:28 UTC (permalink / raw)
To: linux-input; +Cc: dmitry.torokhov, 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/input/keyboard/nspire-keypad.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/nspire-keypad.c b/drivers/input/keyboard/nspire-keypad.c
index b3e3eda..9981928 100644
--- a/drivers/input/keyboard/nspire-keypad.c
+++ b/drivers/input/keyboard/nspire-keypad.c
@@ -267,7 +267,7 @@ static struct platform_driver nspire_keypad_driver = {
.driver = {
.name = "nspire-keypad",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(nspire_keypad_dt_match),
+ .of_match_table = nspire_keypad_dt_match,
},
.probe = nspire_keypad_probe,
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/6] Input: tegra-kbc - Remove redundant of_match_ptr
2013-09-28 12:28 [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr Sachin Kamat
2013-09-28 12:28 ` [PATCH 2/6] Input: nspire-keypad " Sachin Kamat
@ 2013-09-28 12:28 ` Sachin Kamat
2013-09-28 12:28 ` [PATCH 4/6] Input: sirfsoc-onkey " Sachin Kamat
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:28 UTC (permalink / raw)
To: linux-input; +Cc: dmitry.torokhov, 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/input/keyboard/tegra-kbc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c
index 9cd20e6..8508879 100644
--- a/drivers/input/keyboard/tegra-kbc.c
+++ b/drivers/input/keyboard/tegra-kbc.c
@@ -614,7 +614,7 @@ static int tegra_kbc_probe(struct platform_device *pdev)
unsigned int keymap_rows;
const struct of_device_id *match;
- match = of_match_device(of_match_ptr(tegra_kbc_of_match), &pdev->dev);
+ match = of_match_device(tegra_kbc_of_match, &pdev->dev);
kbc = devm_kzalloc(&pdev->dev, sizeof(*kbc), GFP_KERNEL);
if (!kbc) {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 4/6] Input: sirfsoc-onkey - Remove redundant of_match_ptr
2013-09-28 12:28 [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr Sachin Kamat
2013-09-28 12:28 ` [PATCH 2/6] Input: nspire-keypad " Sachin Kamat
2013-09-28 12:28 ` [PATCH 3/6] Input: tegra-kbc " Sachin Kamat
@ 2013-09-28 12:28 ` Sachin Kamat
2013-09-28 12:28 ` [PATCH 5/6] Input: egalax_ts " Sachin Kamat
2013-09-28 12:28 ` [PATCH 6/6] Input: ti_am335x_tsc " Sachin Kamat
4 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:28 UTC (permalink / raw)
To: linux-input; +Cc: dmitry.torokhov, 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/input/misc/sirfsoc-onkey.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/misc/sirfsoc-onkey.c b/drivers/input/misc/sirfsoc-onkey.c
index 0621c36..7b8b03e 100644
--- a/drivers/input/misc/sirfsoc-onkey.c
+++ b/drivers/input/misc/sirfsoc-onkey.c
@@ -153,7 +153,7 @@ static struct platform_driver sirfsoc_pwrc_driver = {
.name = "sirfsoc-pwrc",
.owner = THIS_MODULE,
.pm = &sirfsoc_pwrc_pm_ops,
- .of_match_table = of_match_ptr(sirfsoc_pwrc_of_match),
+ .of_match_table = sirfsoc_pwrc_of_match,
}
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 5/6] Input: egalax_ts - Remove redundant of_match_ptr
2013-09-28 12:28 [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr Sachin Kamat
` (2 preceding siblings ...)
2013-09-28 12:28 ` [PATCH 4/6] Input: sirfsoc-onkey " Sachin Kamat
@ 2013-09-28 12:28 ` Sachin Kamat
2013-09-28 12:28 ` [PATCH 6/6] Input: ti_am335x_tsc " Sachin Kamat
4 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:28 UTC (permalink / raw)
To: linux-input; +Cc: dmitry.torokhov, 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/input/touchscreen/egalax_ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c
index c856fbc..b4d721f 100644
--- a/drivers/input/touchscreen/egalax_ts.c
+++ b/drivers/input/touchscreen/egalax_ts.c
@@ -274,7 +274,7 @@ static struct i2c_driver egalax_ts_driver = {
.name = "egalax_ts",
.owner = THIS_MODULE,
.pm = &egalax_ts_pm_ops,
- .of_match_table = of_match_ptr(egalax_ts_dt_ids),
+ .of_match_table = egalax_ts_dt_ids,
},
.id_table = egalax_ts_id,
.probe = egalax_ts_probe,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 6/6] Input: ti_am335x_tsc - Remove redundant of_match_ptr
2013-09-28 12:28 [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr Sachin Kamat
` (3 preceding siblings ...)
2013-09-28 12:28 ` [PATCH 5/6] Input: egalax_ts " Sachin Kamat
@ 2013-09-28 12:28 ` Sachin Kamat
4 siblings, 0 replies; 6+ messages in thread
From: Sachin Kamat @ 2013-09-28 12:28 UTC (permalink / raw)
To: linux-input; +Cc: dmitry.torokhov, 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/input/touchscreen/ti_am335x_tsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c
index 24e625c..14b7390 100644
--- a/drivers/input/touchscreen/ti_am335x_tsc.c
+++ b/drivers/input/touchscreen/ti_am335x_tsc.c
@@ -511,7 +511,7 @@ static struct platform_driver ti_tsc_driver = {
.name = "TI-am335x-tsc",
.owner = THIS_MODULE,
.pm = TITSC_PM_OPS,
- .of_match_table = of_match_ptr(ti_tsc_dt_ids),
+ .of_match_table = ti_tsc_dt_ids,
},
};
module_platform_driver(ti_tsc_driver);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-09-28 12:28 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:28 [PATCH 1/6] Input: lpc32xx-keys - Remove redundant of_match_ptr Sachin Kamat
2013-09-28 12:28 ` [PATCH 2/6] Input: nspire-keypad " Sachin Kamat
2013-09-28 12:28 ` [PATCH 3/6] Input: tegra-kbc " Sachin Kamat
2013-09-28 12:28 ` [PATCH 4/6] Input: sirfsoc-onkey " Sachin Kamat
2013-09-28 12:28 ` [PATCH 5/6] Input: egalax_ts " Sachin Kamat
2013-09-28 12:28 ` [PATCH 6/6] Input: ti_am335x_tsc " Sachin Kamat
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).