summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-stmp3xxx.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas2016-04-27 00:17:35 +0200
committerAlexandre Belloni2016-05-20 12:33:51 +0200
commit6fca3fc51632685635cb7143065ae74d44673871 (patch)
treed9cb87ff15bee0e467549d08749b504567ee2d93 /drivers/rtc/rtc-stmp3xxx.c
parentrtc: ds3232: fix call trace when rtc->ops_lock is used as NULL (diff)
downloadkernel-qcow2-linux-6fca3fc51632685635cb7143065ae74d44673871.tar.gz
kernel-qcow2-linux-6fca3fc51632685635cb7143065ae74d44673871.tar.xz
kernel-qcow2-linux-6fca3fc51632685635cb7143065ae74d44673871.zip
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>
Diffstat (limited to 'drivers/rtc/rtc-stmp3xxx.c')
0 files changed, 0 insertions, 0 deletions