]> git.baikalelectronics.ru Git - kernel.git/commit
net/smscx5xx: change to of_get_mac_address() eth_platform_get_mac_address()
authorŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 30 Sep 2020 14:25:25 +0000 (16:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Oct 2020 22:21:17 +0000 (15:21 -0700)
commitcf98826d550dfc76b76ba1abf2fdc80d445a860c
tree44b22f331194deb94aa08eaf12c813cd0e1d1672
parent2ced6954227fcb62929705acb900cba58f49b829
net/smscx5xx: change to of_get_mac_address() eth_platform_get_mac_address()

Use more generic eth_platform_get_mac_address() which can get a MAC
address from other than DT platform specific sources too. Check if the
obtained address is valid.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc75xx.c
drivers/net/usb/smsc95xx.c