Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1388588
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] cpufreq: Use IS_ENABLED() instead of checking for built-in or module |
| Date | 2016-04-27 04:10 +0200 |
| Message-ID | <rsn5n-1tW-3@gated-at.bofh.it> (permalink) |
| References | <rslmW-92-35@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@osg.samsung.com> > > --- > > 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@linaro.org> -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] cpufreq: Use IS_ENABLED() instead of checking for built-in or module Javier Martinez Canillas <javier@osg.samsung.com> - 2016-04-27 02:20 +0200 Re: [PATCH] cpufreq: Use IS_ENABLED() instead of checking for built-in or module Viresh Kumar <viresh.kumar@linaro.org> - 2016-04-27 04:10 +0200
csiph-web