]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e33e9d532dd786c6b0ae3d3cefcbd20202341c0
tree1ca7b475cf311330d3cbf6c1f0c2070023b06288
parent354ebee2af9b2146703287dbe6c92b9af6e0ce2d
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