rt2x00: rt2800lib: introduce rt2800_eeprom_read_from_array helper
rt2x00: rt2800lib: introduce rt2800_eeprom_read_from_array helper

Add a new helper function and use that for reading
single elements of various arrays in the EEPROM.

The patch does not change the current behaviour,
but it allows to use sequential values for the
rt2800_eeprom_word enums. The conversion will be
implemented in a subsequent change.

Signed-off-by: Gabor Juhos <0b85b0feb94c9a44e8676965f48a70291ba74edb@openwrt.org>
Acked-by: Stanislaw Gruszka <2ec9e03c860a4b259d1dd6980a011b203dc174e0@wp.pl>
Acked-by: Gertjan van Wingerde <1a7d4b7fcc67848a7146b426400f699af933a40d@gmail.com>
Signed-off-by: John W. Linville <2a53bac7a5d324865ef46ec4c38b2c0fba1456b4@tuxdriver.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs