e1000: Consolidate SPI EEPROM init code
All of the chips that bitbang SPI to access EEPROM appear to be
configured in the same way, so move common code into a separate
function and make use of it.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8ba2db7 commit 81f2d33a830a4be7e6ea8f3c33c17de1539da8cd
@Andrey Smirnov Andrey Smirnov authored on 2 Jun 2016
Sascha Hauer committed on 3 Jun 2016
Showing 1 changed file
View
drivers/net/e1000/eeprom.c