diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 10:28:08 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-28 10:44:48 +0800 |
commit | 1d089e09936420611781e2ad09519f9521381fb0 (patch) | |
tree | 3713eca71e832b5544d303fe0e60f633f460f7b6 /drivers/thermal | |
parent | 83720d0b79618cd07c955ef1204c9cb0acb614a5 (diff) | |
download | talos-obmc-linux-1d089e09936420611781e2ad09519f9521381fb0.tar.gz talos-obmc-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')
-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, }, }; |