Re: [PATCH] cpufreq: Use IS_ENABLED() instead of checking for built-in or module
From: Rafael J. Wysocki
Date: Wed May 04 2016 - 17:18:07 EST
On Wednesday, April 27, 2016 07:31:40 AM Viresh Kumar wrote:
> 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>
Applied, thanks!