net/e1000: don't register EERPOM device if the content is invalid
If the EEPROM content isn't valid, there is no point in registering the
EEPROM device, as it will reject any read attempt anyway.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6a187cf commit 1d7d0552920567dc6bab8a0fcd1fb10453d23dfc
@Lucas Stach Lucas Stach authored on 26 Jan 2018
Sascha Hauer committed on 30 Jan 2018
Showing 1 changed file
View
drivers/net/e1000/eeprom.c