Messages in this thread |  | | Date | Tue, 3 May 2016 11:55:00 +0200 | | From | Alexandre Belloni <> | | Subject | Re: [PATCH] rtc: Use IS_ENABLED() instead of checking for built-in or module |
| |
On 26/04/2016 at 18:17:35 -0400, 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/rtc/rtc-cmos.c | 2 +- > drivers/rtc/rtc-mrst.c | 2 +- > drivers/rtc/rtc-rs5c372.c | 8 ++++---- > 3 files changed, 6 insertions(+), 6 deletions(-) > Applied, thanks.
-- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
|  |