Convert smsc911x to use ACPI as well as DT
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 12 Aug 2015 22:06:27 +0000 (17:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2015 23:58:29 +0000 (16:58 -0700)
commit0b50dc4fc971cc788b0974ebd70f06efff1ad5d8
treebfb4449c25e1eb65e7c54222825a109bc07fb25f
parent4c96b7dc0d393f12c17e0d81db15aa4a820a6ab3
Convert smsc911x to use ACPI as well as DT

Add ACPI bindings for the smsc911x driver. Convert the DT specific calls
to nonspecific device* calls, This allows the driver to work
with both ACPI and DT configurations. Ethernet should now work when using
ACPI on ARM Juno.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c