e1000: Refactor Flash/EEPROM reading code
Refactor Flash/EEPROM reading code to use vtable with pointers to
small, specialized functions based on the flash class instead of big
monolithic funtions whose behaviour is driven by a number of flags and
variables.

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