diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2016-09-12 17:03:44 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-13 06:27:59 +0300 |
commit | 12c70f30533ebf31e86c070253555149b9bf6ff6 (patch) | |
tree | a9c528e8809464a92d57ceaa39f47b530e2ffaf0 /drivers/net/hamradio | |
parent | 547e530a5e10fbc8e78bf2573508e46ca1bf571f (diff) | |
download | linux-12c70f30533ebf31e86c070253555149b9bf6ff6.tar.xz |
stmmac: 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>
Reviewed-by: Alexandre TORGUE <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio')
0 files changed, 0 insertions, 0 deletions