ARM: imx: use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 29 Aug 2016 10:12:04 +0000 (12:12 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Aug 2016 14:27:37 +0000 (22:27 +0800)
commitd37bac434cb815303e48f1357c76fa020e64c649
treefba723a59907852b45d4a1e8c58e777dca93d5a2
parentb19aa5a70e7d78d225d4f89e792019f237b3656e
ARM: imx: 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: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mach-kzm_arm11_01.c
This page took 0.028778 seconds and 5 git commands to generate.