diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-16 06:28:11 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-05-27 22:45:35 -0400 |
commit | 5454f211ddc2a8ebc1eb20aa3866c4e9cf11405f (patch) | |
tree | 2433be8d61effe8c10fc7185f829012a731cf342 /drivers/thermal | |
parent | 90c3194e474fe00240a441a7321b1fe37d3441aa (diff) |
Thermal: spear: Remove redundant use of of_match_ptr
'spear_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: Vincenzo Frascino <vincenzo.frascino@st.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
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/spear_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/spear_thermal.c b/drivers/thermal/spear_thermal.c index 3c5ee5607977..838aff29b9d8 100644 --- a/drivers/thermal/spear_thermal.c +++ b/drivers/thermal/spear_thermal.c | |||
@@ -198,7 +198,7 @@ static struct platform_driver spear_thermal_driver = { | |||
198 | .name = "spear_thermal", | 198 | .name = "spear_thermal", |
199 | .owner = THIS_MODULE, | 199 | .owner = THIS_MODULE, |
200 | .pm = &spear_thermal_pm_ops, | 200 | .pm = &spear_thermal_pm_ops, |
201 | .of_match_table = of_match_ptr(spear_thermal_id_table), | 201 | .of_match_table = spear_thermal_id_table, |
202 | }, | 202 | }, |
203 | }; | 203 | }; |
204 | 204 | ||