]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit4f359b653f7f598c29a1fbcf69fa975bf510061b
tree44b22f331194deb94aa08eaf12c813cd0e1d1672
parenta3d0ba883ce05775d53a4db903bafc09ec3ba182
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