aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/hamradio/bpqether.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-09-12 10:03:44 -0400
committerDavid S. Miller <davem@davemloft.net>2016-09-12 20:27:59 -0700
commit12c70f30533ebf31e86c070253555149b9bf6ff6 (patch)
treea9c528e8809464a92d57ceaa39f47b530e2ffaf0 /drivers/net/hamradio/bpqether.c
parentsis900: use IS_ENABLED() instead of checking for built-in or module (diff)
downloadlinux-dev-12c70f30533ebf31e86c070253555149b9bf6ff6.tar.xz
linux-dev-12c70f30533ebf31e86c070253555149b9bf6ff6.zip
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/bpqether.c')
0 files changed, 0 insertions, 0 deletions