linux/drivers/net/ethernet/cadence
Cyrille Pitchen 93b31f48b3 net/macb: unify clock management
Most of the functions from the Common Clk Framework handle NULL pointer as
input argument.

Since the TX clock is optional, we now set tx_clk to NULL value
instead of ERR_PTR(-ENOENT) when this clock is not available. This simplifies
the clock management and avoid the need to test tx_clk value.

Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-07 22:31:22 -05:00
..
at91_ether.c net/at91_ether: prepare and unprepare clock 2015-01-12 15:35:47 -05:00
Kconfig net: cadence: Remove Kconfig dependency on ARCH 2015-03-04 15:48:26 -05:00
macb.c net/macb: unify clock management 2015-03-07 22:31:22 -05:00
macb.h net: macb: remove #if defined(CONFIG_ARCH_AT91) sections 2015-03-07 22:31:21 -05:00
Makefile net/at91_ether: select MACB in Kconfig 2012-10-23 02:40:09 -04:00