linux/drivers/net/ethernet/wiznet
Petr Štetiar a51645f70f net: ethernet: support of_get_mac_address new ERR_PTR error
There was NVMEM support added to of_get_mac_address, so it could now
return ERR_PTR encoded error values, so we need to adjust all current
users of of_get_mac_address to this new fact.

While at it, remove superfluous is_valid_ether_addr as the MAC address
returned from of_get_mac_address is always valid and checked by
is_valid_ether_addr anyway.

Fixes: d01f449c00 ("of_net: add NVMEM support to of_get_mac_address")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-05-07 12:22:47 -07:00
..
Kconfig net: w5100: support W5500 2016-04-27 21:55:45 -04:00
Makefile net: w5100: support SPI interface mode 2016-04-16 18:30:27 -04:00
w5100-spi.c net: w5100-spi: add support to specify MAC address by device tree 2016-05-16 13:55:49 -04:00
w5100.c net: ethernet: support of_get_mac_address new ERR_PTR error 2019-05-07 12:22:47 -07:00
w5100.h net: w5100-spi: add support to specify MAC address by device tree 2016-05-16 13:55:49 -04:00
w5300.c net: ethernet: wiznet: w5300: simplify getting .driver_data 2018-10-21 21:10:12 -07:00