diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2020-05-09 22:34:40 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-06-12 13:17:23 -0400 |
commit | 26f59c28bdea91617b3acfd132d5affc55e1ef4a (patch) | |
tree | 0cfb085adfe557e9849baeff53210f6b738e6f24 /drivers/net/armada100_fec.c | |
parent | 3feb6f7ff6856e1e903e5a62f6252d37731b6592 (diff) |
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>
Diffstat (limited to 'drivers/net/armada100_fec.c')
0 files changed, 0 insertions, 0 deletions