net: rtl8139: Pass private data into rtl8139_eeprom_delay()
authorMarek Vasut <marek.vasut@gmail.com>
Sat, 9 May 2020 20:34:40 +0000 (22:34 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commit26f59c28bdea91617b3acfd132d5affc55e1ef4a
tree0cfb085adfe557e9849baeff53210f6b738e6f24
parent3feb6f7ff6856e1e903e5a62f6252d37731b6592
net: rtl8139: Pass private data into rtl8139_eeprom_delay()

Instead of always calling rtl8139_eeprom_delay() with priv->ioaddr,
call it with priv and let the function access priv->ioaddr. This
reduces code duplication and has no impact, since the compiler will
inline this as needed anyway.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/rtl8139.c