Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5454f211 authored by Sachin Kamat's avatar Sachin Kamat Committed by Zhang Rui
Browse files

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: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: Vincenzo Frascino <vincenzo.frascino@st.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 90c3194e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -198,7 +198,7 @@ static struct platform_driver spear_thermal_driver = {
		.name = "spear_thermal",
		.owner = THIS_MODULE,
		.pm = &spear_thermal_pm_ops,
		.of_match_table = of_match_ptr(spear_thermal_id_table),
		.of_match_table = spear_thermal_id_table,
	},
};