diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 06:28:10 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-27 22:45:33 -0400 |
commit | 90c3194e474fe00240a441a7321b1fe37d3441aa (patch) | |
tree | adce357ef86c39f990433fdec8bf53397ba2d13d | |
parent | e0d68afa92df693928f8e28eb7ae03bd68c50d3b (diff) |
Thermal: kirkwood: Remove redundant use of of_match_ptr
'kirkwood_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: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
-rw-r--r-- | drivers/thermal/kirkwood_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c index dfeceaffbc03..61bbc2605b02 100644 --- a/drivers/thermal/kirkwood_thermal.c +++ b/drivers/thermal/kirkwood_thermal.c | |||
@@ -121,7 +121,7 @@ static struct platform_driver kirkwood_thermal_driver = { | |||
121 | .driver = { | 121 | .driver = { |
122 | .name = "kirkwood_thermal", | 122 | .name = "kirkwood_thermal", |
123 | .owner = THIS_MODULE, | 123 | .owner = THIS_MODULE, |
124 | .of_match_table = of_match_ptr(kirkwood_thermal_id_table), | 124 | .of_match_table = kirkwood_thermal_id_table, |
125 | }, | 125 | }, |
126 | }; | 126 | }; |
127 | 127 | ||