aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-16 06:28:09 -0400
committerZhang Rui <rui.zhang@intel.com>2013-05-27 22:45:14 -0400
commite0d68afa92df693928f8e28eb7ae03bd68c50d3b (patch)
tree980987feeb0e52f31844eac6dd60efe59211462e
parent1d089e09936420611781e2ad09519f9521381fb0 (diff)
Thermal: dove: Remove redundant use of of_match_ptr
'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>
-rw-r--r--drivers/thermal/dove_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
index 4b15a5f270dc..d5c029f9344d 100644
--- a/drivers/thermal/dove_thermal.c
+++ b/drivers/thermal/dove_thermal.c
@@ -195,7 +195,7 @@ static struct platform_driver dove_thermal_driver = {
195 .driver = { 195 .driver = {
196 .name = "dove_thermal", 196 .name = "dove_thermal",
197 .owner = THIS_MODULE, 197 .owner = THIS_MODULE,
198 .of_match_table = of_match_ptr(dove_thermal_id_table), 198 .of_match_table = dove_thermal_id_table,
199 }, 199 },
200}; 200};
201 201