[PATCH 06/10] net: rtl8139: Pass private data into rtl8139_eeprom_delay()

Tom Rini trini at konsulko.com
Fri Jun 12 23:17:10 CEST 2020


On Sat, May 09, 2020 at 10:34:40PM +0200, Marek Vasut wrote:

> 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 at gmail.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200612/73d43bbe/attachment.sig>


More information about the U-Boot mailing list