projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c4653
)
Thermal: dove: Remove redundant use of of_match_ptr
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 16 May 2013 10:28:09 +0000
(10:28 +0000)
committer
Chanho Park
<chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:09 +0000
(11:45 +0900)
'dove_thermal_id_table' is always compiled in and the driver
is dependent on OF. Hence use of of_match_ptr is unnecessary.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/dove_thermal.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/dove_thermal.c
b/drivers/thermal/dove_thermal.c
index
db83f7e
..
828f5e3
100644
(file)
--- a/
drivers/thermal/dove_thermal.c
+++ b/
drivers/thermal/dove_thermal.c
@@
-185,7
+185,7
@@
static struct platform_driver dove_thermal_driver = {
.driver = {
.name = "dove_thermal",
.owner = THIS_MODULE,
- .of_match_table =
of_match_ptr(dove_thermal_id_table)
,
+ .of_match_table =
dove_thermal_id_table
,
},
};