ARM: OMAP2+: use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 11 Aug 2016 19:29:45 +0000 (15:29 -0400)
committerTony Lindgren <tony@atomide.com>
Fri, 26 Aug 2016 15:42:35 +0000 (08:42 -0700)
commit502ad2a669f146e0801973c42e55478322f2d382
tree76716a5a0ea829f5342ec947004d7476fa15076c
parentfcebddb9d824dd0242af110fd87e8b8ba70a055c
ARM: OMAP2+: 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.

Using the macro makes the code more readable by helping abstract away some
of the Kconfig built-in and module enable details.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
13 files changed:
arch/arm/mach-omap2/board-flash.c
arch/arm/mach-omap2/board-flash.h
arch/arm/mach-omap2/board-n8x0.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/board-rx51-video.c
arch/arm/mach-omap2/common-board-devices.c
arch/arm/mach-omap2/devices.c
arch/arm/mach-omap2/drm.c
arch/arm/mach-omap2/fb.c
arch/arm/mach-omap2/gpmc-smsc911x.h
arch/arm/mach-omap2/hsmmc.c
arch/arm/mach-omap2/hsmmc.h
arch/arm/mach-omap2/twl-common.c