thermal: cpu_cooling: Remove pointless dependency on CONFIG_OF
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 30 Oct 2019 09:10:36 +0000 (10:10 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 7 Nov 2019 06:00:26 +0000 (07:00 +0100)
commitf5bf3c06730c1bd85a3c064357de433736facc5a
tree136d0ff17309395857e667da972b7242c5896e89
parent76bf653f08dd3616ad067980f52d462a97e5257b
thermal: cpu_cooling: Remove pointless dependency on CONFIG_OF

The option CONFIG_CPU_THERMAL depends on CONFIG_OF in the Kconfig.

It it pointless to check if CONFIG_OF is set in the header file as
this is always true if CONFIG_CPU_THERMAL is true. Remove it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Link: https://lore.kernel.org/r/20191030091038.678-1-daniel.lezcano@linaro.org
include/linux/cpu_cooling.h