rt2x00: rt2800pci: use separate read_eeprom callback for SoC devices
authorGabor Juhos <juhosg@openwrt.org>
Thu, 17 Oct 2013 07:42:27 +0000 (09:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Oct 2013 18:06:59 +0000 (14:06 -0400)
commit68597ea8674bd6c8983abc2a73e1e707af85f38e
tree04ba8fe06cba060b56d7aef28988c3b4c065a802
parenteeea863eba67adaa1a5b2ff34398207ef5506416
rt2x00: rt2800pci: use separate read_eeprom callback for SoC devices

Rename the 'rt2800pci_read_eeprom_soc function' to
'rt2800soc_read_eeprom' and use that directly in the
SoC specific 'rt2800_ops' structure. Also move the
'rt2800pci_eeprom_read' function into an 'ifdef PCI'
section and remove the 'rt2800pci_read_eeprom_soc'
call from that.

Additionally, remove the dummy inline eeprom functions.
Those are not used anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800pci.c