]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fbdev: Use IS_ENABLED() instead of checking for built-in or module
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 11 May 2016 15:59:23 +0000 (11:59 -0400)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 13 May 2016 12:14:38 +0000 (15:14 +0300)
commitab366b40b8513e7590858229ecbb5e1434a52b54
treebc666fd9081b83962e35676c99024a98a0aca74c
parenta53dd258279c1e8bff205e3273a285bdd4b87406
fbdev: 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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/via/accel.c
drivers/video/fbdev/via/via-core.c