aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-16 10:28:08 +0000
committerZhang Rui <rui.zhang@intel.com>2013-05-28 10:44:48 +0800
commit1d089e09936420611781e2ad09519f9521381fb0 (patch)
tree3713eca71e832b5544d303fe0e60f633f460f7b6 /drivers/thermal
parent83720d0b79618cd07c955ef1204c9cb0acb614a5 (diff)
downloadkernel_goldelico_gta04-1d089e09936420611781e2ad09519f9521381fb0.zip
kernel_goldelico_gta04-1d089e09936420611781e2ad09519f9521381fb0.tar.gz
kernel_goldelico_gta04-1d089e09936420611781e2ad09519f9521381fb0.tar.bz2
Thermal: armada: Remove redundant use of of_match_ptr
'armada_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: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/armada_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
index 5b4d75f..7c603b8 100644
--- a/drivers/thermal/armada_thermal.c
+++ b/drivers/thermal/armada_thermal.c
@@ -221,7 +221,7 @@ static struct platform_driver armada_thermal_driver = {
.driver = {
.name = "armada_thermal",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(armada_thermal_id_table),
+ .of_match_table = armada_thermal_id_table,
},
};