diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 12:28:08 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-28 04:44:48 +0200 |
commit | 1d089e09936420611781e2ad09519f9521381fb0 (patch) | |
tree | 3713eca71e832b5544d303fe0e60f633f460f7b6 /drivers/thermal/armada_thermal.c | |
parent | Thermal: core: Ask .get_trip_temp() to register thermal zone device. (diff) | |
download | linux-1d089e09936420611781e2ad09519f9521381fb0.tar.xz linux-1d089e09936420611781e2ad09519f9521381fb0.zip |
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/armada_thermal.c')
-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 = { .driver = { .name = "armada_thermal", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(armada_thermal_id_table), + .of_match_table = armada_thermal_id_table, }, }; |