]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: use IS_ENABLED() instead of checking for FOO || FOO_MODULE
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 20 Apr 2016 18:26:58 +0000 (14:26 -0400)
committerJohan Hovold <johan@kernel.org>
Mon, 25 Apr 2016 10:39:58 +0000 (12:39 +0200)
commit8c34d82e9dc67bb06e20e015ec677f82b72a26b3
tree90c19b42ebef6fd58ed505920a1d2cbbcf85b612
parent3c77f7c9e96bc40ac6985dd595cdd551afd34f2e
USB: serial: use IS_ENABLED() instead of checking for FOO || FOO_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: Johan Hovold <johan@kernel.org>
drivers/usb/serial/usb-serial.c