summaryrefslogtreecommitdiffstats
path: root/drivers/of/of_private.h
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-05-10 11:35:14 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-11 00:14:29 +0200
commit265749861a2483263e6cd4c5e305640e4651c110 (patch)
treed41a2384d12abe186f6a382461e5ed831184edfa /drivers/of/of_private.h
parentnet/ibmvnic: Update carrier state after link state change (diff)
downloadlinux-265749861a2483263e6cd4c5e305640e4651c110.tar.xz
linux-265749861a2483263e6cd4c5e305640e4651c110.zip
of_net: remove nvmem-mac-address property
In commit d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") I've added `nvmem-mac-address` property which was wrong idea as I've allocated the property with devm_kzalloc and then added it to DT, so then 2 entities would be refcounting the allocation. So if the driver unbinds, the buffer is freed, but DT code would be still referencing that memory. I'm removing this property completely instead of fixing it, as it's not needed to have it. Fixes: d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of/of_private.h')
0 files changed, 0 insertions, 0 deletions