mfd: Use IS_ENABLED(CONFIG_FOO) instead of checking FOO || FOO_MODULE
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 20 Apr 2016 17:45:46 +0000 (13:45 -0400)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 07:23:56 +0000 (08:23 +0100)
commit5eb519f3f6df367d43ec0c6e063fd62943fe4dcf
tree2fc532ef834eba8d3322ea40418232ed05cf706f
parentd6441dc5ce2bc8b296a65952d840d2f16e37f974
mfd: Use IS_ENABLED(CONFIG_FOO) instead of checking FOO || FOO_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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/dm355evm_msp.c
drivers/mfd/wm8400-core.c