lkml.org 
[lkml]   [2018]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[net-next][PATCH 0/4] davinci_emac: read the MAC address from nvmem
Date
From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

This series is part of a bigger series that aims at removing the platform
data structure from the at24 EEPROM driver[1].

We provide a generalized version of of_get_nvmem_mac_address(), switch the
only user of the of_ variant to using it, remove the previous
implementation and use the new routine in the davinci_emac driver.

[1] https://lkml.org/lkml/2018/11/13/884

Bartosz Golaszewski (4):
net: ethernet: provide nvmem_get_mac_address()
net: cadence: switch to using nvmem_get_mac_address()
of: net: kill of_get_nvmem_mac_address()
net: davinci_emac: use nvmem_get_mac_address()

drivers/net/ethernet/cadence/macb_main.c | 2 +-
drivers/net/ethernet/ti/davinci_emac.c | 14 ++++++---
drivers/of/of_net.c | 39 ------------------------
include/linux/etherdevice.h | 1 +
include/linux/of_net.h | 6 ----
net/ethernet/eth.c | 38 +++++++++++++++++++++++
6 files changed, 49 insertions(+), 51 deletions(-)

--
2.19.1

\
 
 \ /
  Last update: 2018-11-30 09:22    [W:0.058 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site