diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 10:28:09 +0000 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-28 10:45:14 +0800 |
commit | e0d68afa92df693928f8e28eb7ae03bd68c50d3b (patch) | |
tree | 980987feeb0e52f31844eac6dd60efe59211462e /drivers/thermal | |
parent | 1d089e09936420611781e2ad09519f9521381fb0 (diff) |
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')
-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, }, }; |