diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-08-18 15:45:06 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2016-08-22 09:36:28 +0200 |
commit | 919568691df41e655a6dac2b7a5f94befeedaf71 (patch) | |
tree | 1906122148f956f5d2790303e9f4cdb36562bea7 /crypto | |
parent | Linux 4.8-rc3 (diff) | |
download | linux-919568691df41e655a6dac2b7a5f94befeedaf71.tar.xz linux-919568691df41e655a6dac2b7a5f94befeedaf71.zip |
USB: serial: 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: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions