fujitsu-laptop: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 26 Apr 2016 22:28:17 +0000 (18:28 -0400)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 5 May 2016 20:52:18 +0000 (13:52 -0700)
commit575b245d9047d190c8cbc44e2f0ef14897836292
tree64dae258dcc100d47b12027673cec3512084bd5d
parent19d46ee1aec06de3dc1137c76c29e07bfd96d99d
fujitsu-laptop: 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>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/fujitsu-laptop.c