WSL2-Linux-Kernel/drivers/net/ethernet/amd
Javier Martinez Canillas 941992d294 ethernet: amd: 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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-12 20:27:58 -07:00
..
xgbe xgbe: constify get_netdev_ops and get_ethtool_ops 2016-08-31 14:17:30 -07:00
7990.c ethernet: amd: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
7990.h net/7990: Make lance_private.name const 2013-12-29 00:46:38 -05:00
Kconfig net: hplance: Allow modular build 2015-09-29 21:11:13 -07:00
Makefile amd-xgbe: Configuration and build support 2014-06-05 15:26:51 -07:00
a2065.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
a2065.h
am79c961a.c net: am79c961a: avoid %? in inline assembly 2016-02-16 15:06:54 -05:00
am79c961a.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
amd8111e.c ethernet: amd: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
amd8111e.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
ariadne.c net/ariadne: delete unneeded call to netdev_priv 2014-05-15 16:57:47 -04:00
ariadne.h
atarilance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
au1000_eth.c net: ethernet: amd: au1000_eth: use phy_ethtool_{get|set}_link_ksettings 2016-07-15 16:41:35 -07:00
au1000_eth.h net: ethernet: amd: au1000_eth: use phydev from struct net_device 2016-07-15 16:41:35 -07:00
declance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
hplance.c hplance: fix ram size in comment 2014-06-05 15:14:21 -07:00
hplance.h
lance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
mvme147.c mvme147: fix ram size in comment 2014-06-05 15:14:21 -07:00
ni65.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
ni65.h
nmclan_cs.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
pcnet32.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
sun3lance.c ethernet: amd: remove deprecated IRQF_DISABLED 2013-09-12 23:27:09 -04:00
sunlance.c treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00