]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf763288491c7bc58c5358593940d0d7ad849afd
tree64dae258dcc100d47b12027673cec3512084bd5d
parent37bf048850822edb8f3f133a98704299ba25080f
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