projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
085f17c
)
Input: ti_am335x_tsc - remove redundant of_match_ptr
author
Sachin Kamat
<
[email protected]
>
Sun, 6 Oct 2013 07:53:52 +0000
(
00:53
-0700)
committer
Dmitry Torokhov
<
[email protected]
>
Sun, 6 Oct 2013 08:22:26 +0000
(
01:22
-0700)
The data structure of_match_ptr() protects is always compiled in.
Hence of_match_ptr() is not needed.
Signed-off-by: Sachin Kamat <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/touchscreen/ti_am335x_tsc.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/ti_am335x_tsc.c
b/drivers/input/touchscreen/ti_am335x_tsc.c
index e1c5300cacfc2044f83175dccffd864a8bd01fbc..df9b24f7e2cb44efdb18e6b57fe4fa68562858b9 100644
(file)
--- a/
drivers/input/touchscreen/ti_am335x_tsc.c
+++ b/
drivers/input/touchscreen/ti_am335x_tsc.c
@@
-505,7
+505,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);