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:
dee964c
)
Input: egalax_ts - remove redundant of_match_ptr
author
Sachin Kamat
<
[email protected]
>
Sun, 6 Oct 2013 07:52:12 +0000
(
00:52
-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/egalax_ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/egalax_ts.c
b/drivers/input/touchscreen/egalax_ts.c
index ef5fcb0945e910b11918b26159a2860cec2cba2a..054d22583248386a5d392c0df90fed81d950e083 100644
(file)
--- a/
drivers/input/touchscreen/egalax_ts.c
+++ b/
drivers/input/touchscreen/egalax_ts.c
@@
-273,7
+273,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,