OpenCloudOS-Kernel/drivers/net/ethernet/natsemi
Javier Martinez Canillas cbbe6096de natsemi: 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: David S. Miller <davem@davemloft.net>
2016-09-12 20:27:59 -07:00
..
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile drivers/net: delete all code/drivers depending on CONFIG_MCA 2012-05-17 16:37:41 -04:00
jazzsonic.c net: ethernet: natsemi: drop owner assignment from platform_drivers 2014-10-20 16:21:10 +02:00
macsonic.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
natsemi.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
ns83820.c natsemi: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:59 -07:00
sonic.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
sonic.h
xtsonic.c xtsonic: add missing platform_set_drvdata() in xtsonic_probe() 2013-11-11 14:02:08 -05:00