Add a matching set of device_ functions for determining mac/phy
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 12 Aug 2015 22:06:26 +0000 (17:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2015 23:58:29 +0000 (16:58 -0700)
commit4c96b7dc0d393f12c17e0d81db15aa4a820a6ab3
treea0003f7e85ee92cebf5cf224266d26b3a738ab39
parent5bbbcc0073331d4e37c9f91c59cfc9f5d2033860
Add a matching set of device_ functions for determining mac/phy

OF has some helper functions for parsing MAC and PHY settings.
In cases where the platform is providing this information rather
than the device itself, there needs to be similar functions for ACPI.

These functions are slightly modified versions of the ones in
of_net which can use information provided via DT or ACPI.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/base/property.c
include/linux/property.h