Re: [PATCH 1/2] thermal: cpu_cooling: Remove pointless dependency on CONFIG_OF

From: Viresh Kumar
Date: Thu Oct 31 2019 - 04:56:07 EST


On Wed, 30 Oct 2019 at 14:41, Daniel Lezcano <daniel.lezcano@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>
> ---
> include/linux/cpu_cooling.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>