]> git.baikalelectronics.ru Git - kernel.git/commit
enc28j60: Use device_get_mac_address()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Mar 2019 18:49:18 +0000 (20:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Mar 2019 21:59:31 +0000 (14:59 -0700)
commit10db39daee3f712c362680c795a0dcca7dbece3e
tree36be97d1993f7f6ac697a0ff4812421bb27da286
parentb6e46a249f1d447aca835c21b3d9f62ff624272e
enc28j60: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/microchip/enc28j60.c