cpufreq: e_powersaver: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 27 Apr 2016 00:14:13 +0000 (20:14 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 27 Apr 2016 20:42:34 +0000 (22:42 +0200)
commit6de0dc4b536110d63a83021b7e6dce3e1955297b
tree1ca7b475cf311330d3cbf6c1f0c2070023b06288
parentba1ca654f30ddca8f208f43ebbf27cb933a97982
cpufreq: e_powersaver: Use IS_ENABLED() instead of checking for built-in or module

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@osg.samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/e_powersaver.c
drivers/cpufreq/ppc_cbe_cpufreq.h