drivers: net: xgene: Check for IS_ERR rather than NULL for clock.
authorSuman Tripathi <stripathi@apm.com>
Tue, 23 Jun 2015 09:17:17 +0000 (14:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 14:19:21 +0000 (07:19 -0700)
commitc2d33bdc66e3b7db574e6b4864225cb341bffbcd
tree2831ea538e4b73fcae941506fb3a17de24df020a
parent822e34a48d0ef711a7c4c2a1ff6ac6930e6742bd
drivers: net: xgene: Check for IS_ERR rather than NULL for clock.

This patches fixes the code to check for IS_ERR rather
than NULL for clock interface.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c