linux/drivers/net/ethernet/renesas
Sergei Shtylyov 264be2f5a9 sh_eth: exit probe with unknown register layout
Exit the driver's probe() method when the register layout is unknown as the
driver would cause kernel oops in this case anyway.

While at it, move the corresponding error message printout and convert it from
pr_err() to dev_err().

Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-03-17 16:05:18 -04:00
..
Kconfig sh_eth: add R8A7791 support 2013-12-10 21:47:35 -05:00
Makefile
sh_eth.c sh_eth: exit probe with unknown register layout 2014-03-17 16:05:18 -04:00
sh_eth.h sh_eth: use ETH_ZLEN instead of home-grown #define 2014-02-13 18:09:30 -05:00