diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-08-18 16:45:06 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2016-08-22 10:36:28 +0300 |
commit | 919568691df41e655a6dac2b7a5f94befeedaf71 (patch) | |
tree | 1906122148f956f5d2790303e9f4cdb36562bea7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fa8410b355251fd30341662a40ac6b22d3e38468 (diff) | |
download | linux-919568691df41e655a6dac2b7a5f94befeedaf71.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions