net: qcom/emac: use device_get_mac_address
authorTimur Tabi <timur@codeaurora.org>
Wed, 28 Sep 2016 16:58:43 +0000 (11:58 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Sep 2016 05:50:13 +0000 (01:50 -0400)
commit0de709acbc0d0001dc4b0953aebcfb0f030b9b0e
tree87a7a7aa660cd9bfc96c9812e562dbef1fd7275f
parent54e19bc74f3380d414681762ceed9f7245bc6a6e
net: qcom/emac: use device_get_mac_address

Replace the DT-specific of_get_mac_address() function with
device_get_mac_address, which works on both DT and ACPI platforms.  This
change makes it easier to add ACPI support.

Signed-off-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/emac/emac.c