diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 12:28:09 +0200 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-28 04:45:14 +0200 |
commit | e0d68afa92df693928f8e28eb7ae03bd68c50d3b (patch) | |
tree | 980987feeb0e52f31844eac6dd60efe59211462e /drivers/thermal/dove_thermal.c | |
parent | Thermal: armada: Remove redundant use of of_match_ptr (diff) | |
download | linux-e0d68afa92df693928f8e28eb7ae03bd68c50d3b.tar.xz linux-e0d68afa92df693928f8e28eb7ae03bd68c50d3b.zip |
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>
Diffstat (limited to 'drivers/thermal/dove_thermal.c')
-rw-r--r-- | drivers/thermal/dove_thermal.c | 2 |
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 = { .driver = { .name = "dove_thermal", .owner = THIS_MODULE, - .of_match_table = of_match_ptr(dove_thermal_id_table), + .of_match_table = dove_thermal_id_table, }, }; |