linux/drivers/staging/octeon
Javier Martinez Canillas aa652b1ccb staging: octeon: 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>
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-02 14:55:54 +02:00
..
ethernet-defines.h staging: octeon: Add space around '+' 2015-11-15 20:02:47 -08:00
ethernet-mdio.c net: ethernet: octeon: use phy_ethtool_{get|set}_link_ksettings 2016-08-21 18:02:32 +02:00
ethernet-mdio.h staging: octeon: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
ethernet-mem.c staging: octeon: Remove comparison to NULL 2016-03-11 22:09:09 -08:00
ethernet-mem.h staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
ethernet-rgmii.c net: ethernet: octeon: use phydev from struct net_device 2016-08-21 18:02:32 +02:00
ethernet-rx.c staging: octeon: prevent poll during rx init 2016-09-02 14:46:53 +02:00
ethernet-rx.h staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-sgmii.c staging: octeon-ethernet: drop poll_now parameter from cvm_oct_common_open 2015-10-17 20:56:10 -07:00
ethernet-spi.c staging: octeon: Remove blank lines after open brace 2016-03-11 22:09:09 -08:00
ethernet-tx.c staging: octeon: Fix alignment with open parenthesis 2016-03-28 07:30:36 -07:00
ethernet-tx.h staging: octeon-ethernet: update boilerplate comments 2015-04-30 17:06:09 +02:00
ethernet-util.h staging: octeon: check for pow0 before calling interface helper 2016-08-21 18:02:32 +02:00
ethernet.c staging: octeon: Use IS_ENABLED() instead of checking for built-in or module 2016-09-02 14:55:54 +02:00
Kconfig
Makefile staging: octeon-ethernet: move cvm_oct_xaui_open() 2015-10-17 20:56:10 -07:00
octeon-ethernet.h staging: octeon: support enabling multiple rx groups 2016-09-02 14:46:53 +02:00