diff options
author | Petr Štetiar <ynezz@true.cz> | 2019-05-10 12:35:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-11 01:14:29 +0300 |
commit | 265749861a2483263e6cd4c5e305640e4651c110 (patch) | |
tree | d41a2384d12abe186f6a382461e5ed831184edfa /Documentation/devicetree/bindings/net | |
parent | 0655f9943df2f2d71f406fd77b51d05548134fc2 (diff) | |
download | linux-265749861a2483263e6cd4c5e305640e4651c110.tar.xz |
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 'Documentation/devicetree/bindings/net')
0 files changed, 0 insertions, 0 deletions