commit | 26f59c28bdea91617b3acfd132d5affc55e1ef4a | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sat May 09 22:34:40 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 12 13:17:23 2020 -0400 |
tree | 0cfb085adfe557e9849baeff53210f6b738e6f24 | |
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>