rtc: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 26 Apr 2016 22:17:35 +0000 (18:17 -0400)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 20 May 2016 10:33:51 +0000 (12:33 +0200)
commit6fca3fc51632685635cb7143065ae74d44673871
treed9cb87ff15bee0e467549d08749b504567ee2d93
parentb4b77f3c280e38cec178f81d7a4d7e65f4045913
rtc: 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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-cmos.c
drivers/rtc/rtc-mrst.c
drivers/rtc/rtc-rs5c372.c