aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence/Makefile
diff options
context:
space:
mode:
authorCyrille Pitchen <cyrille.pitchen@atmel.com>2015-03-07 07:23:31 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-07 22:31:22 -0500
commit93b31f48b3ba84cc5fc310c9765d11ebbeede7b5 (patch)
treecd4d16c397046a5bb927c558a9ce2d75314b433f /drivers/net/ethernet/cadence/Makefile
parentnet: macb: remove #if defined(CONFIG_ARCH_AT91) sections (diff)
downloadlinux-dev-93b31f48b3ba84cc5fc310c9765d11ebbeede7b5.tar.xz
linux-dev-93b31f48b3ba84cc5fc310c9765d11ebbeede7b5.zip
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>
Diffstat (limited to 'drivers/net/ethernet/cadence/Makefile')
0 files changed, 0 insertions, 0 deletions