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>
This commit is contained in:
Suman Tripathi 2015-06-23 14:47:17 +05:30 • committed by David S. Miller
commit c2d33bdc66
4 changed files with 18 additions and 11 deletions