Re: [PATCH] cpufreq: Use IS_ENABLED() instead of checking for built-in or module

From: Viresh Kumar
Date: Tue Apr 26 2016 - 22:01:53 EST


On 26-04-16, 20:14, Javier Martinez Canillas wrote:
> The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
> built-in or as a module, use that macro instead of open coding the same.
>
> Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
>
> ---
>
> drivers/cpufreq/e_powersaver.c | 14 +++++++-------
> drivers/cpufreq/ppc_cbe_cpufreq.h | 2 +-
> 2 files changed, 8 insertions(+), 8 deletions(-)

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

--
viresh