net: fec_imx: check return value of registration functions
We do not care about releasing the resources in the error
path, but at least check the return value of eth_register
and mdiobus_register.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d4f202f commit d4d9fc125f51996824c1e8d1a446a8801aef5b05
@Sascha Hauer Sascha Hauer authored on 20 May 2014
Showing 1 changed file
View
drivers/net/fec_imx.c