]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: only check presence of link property
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Fri, 3 Nov 2017 23:05:28 +0000 (19:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Nov 2017 13:31:39 +0000 (22:31 +0900)
commit685674304b6881ffccaa7665147d4d874b6e46ca
treeecaefaad8bf8c128fefe65978cf99142437b08dc
parent768986c402c5edfb82b18a1fe9d66c31c0b07603
net: dsa: only check presence of link property

When parsing a port, simply use of_property_read_bool which checks the
presence of a given property, instead of parsing the link phandle.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa2.c