diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 06:28:08 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-27 22:44:48 -0400 |
commit | 1d089e09936420611781e2ad09519f9521381fb0 (patch) | |
tree | 3713eca71e832b5544d303fe0e60f633f460f7b6 /drivers/thermal | |
parent | 83720d0b79618cd07c955ef1204c9cb0acb614a5 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c index 5b4d75fd7b49..7c603b854e87 100644 --- a/drivers/thermal/armada_thermal.c +++ b/drivers/thermal/armada_thermal.c | |||
@@ -221,7 +221,7 @@ static struct platform_driver armada_thermal_driver = { | |||
221 | .driver = { | 221 | .driver = { |
222 | .name = "armada_thermal", | 222 | .name = "armada_thermal", |
223 | .owner = THIS_MODULE, | 223 | .owner = THIS_MODULE, |
224 | .of_match_table = of_match_ptr(armada_thermal_id_table), | 224 | .of_match_table = armada_thermal_id_table, |
225 | }, | 225 | }, |
226 | }; | 226 | }; |
227 | 227 | ||