]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: davinci: support of_get_mac_address new ERR_PTR error
authorPetr Štetiar <ynezz@true.cz>
Fri, 3 May 2019 14:27:09 +0000 (16:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 May 2019 04:47:07 +0000 (21:47 -0700)
commitf7af25a6ca1605af9d2611ae1ba02096a9c2e9df
treec42806f88aad52c8a7bc2d44dde99cbfe2da2a74
parent541ddc66d665f0ed9e977f40bf99bb8bbf79d9c4
net: davinci: support of_get_mac_address new ERR_PTR error

There was NVMEM support added directly to of_get_mac_address, and it uses
nvmem_get_mac_address under the hood, so we can remove it. As
of_get_mac_address can now return ERR_PTR encoded error values, adjust to
that as well.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c