android_kernel_motorola_sm6375/drivers/of
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Petr Štetiar 36ad702253 of_net: Fix residues after of_get_nvmem_mac_address removal
I've discovered following discrepancy in the bindings/net/ethernet.txt
documentation, where it states following:

 - nvmem-cells: phandle, reference to an nvmem node for the MAC address;
 - nvmem-cell-names: string, should be "mac-address" if nvmem is to be..

which is actually misleading and confusing. There are only two ethernet
drivers in the tree, cadence/macb and davinci which supports this
properties.

This nvmem-cell* properties were introduced in commit 9217e566bd
("of_net: Implement of_get_nvmem_mac_address helper"), but
commit afa64a72b8 ("of: net: kill of_get_nvmem_mac_address()")
forget to properly clean up this parts.

So this patch fixes the documentation by moving the nvmem-cell*
properties at the appropriate places.  While at it, I've removed unused
include as well.

Cc: Bartosz Golaszewski <[email protected]>
Fixes: afa64a72b8 ("of: net: kill of_get_nvmem_mac_address()")
Signed-off-by: Petr Štetiar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2019-04-19 11:58:30 -07:00
..
unittest-data
address.c
base.c
device.c
dynamic.c
fdt.c
fdt_address.c
irq.c
Kconfig
kobj.c
Makefile
of_mdio.c
of_net.c of_net: Fix residues after of_get_nvmem_mac_address removal 2019-04-19 11:58:30 -07:00
of_numa.c
of_private.h
of_reserved_mem.c
overlay.c
pdt.c
platform.c
property.c
resolver.c
unittest.c