drivers: net: cpsw: davinci_emac: move reading mac id to common file
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 21 Sep 2015 10:26:50 +0000 (15:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2015 00:21:46 +0000 (17:21 -0700)
commitb6745f6e4e63f23fd5bf46ea2745783be13a0960
tree4555db378617670ae03988fc934aacc7defde94b
parent607cba1554cbdfd8d9f4a645f235e1dc909ba33f
drivers: net: cpsw: davinci_emac: move reading mac id to common file

Moving mac address reading from ethernet driver to common
file for better maintenance and for code reusable.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw-common.c
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/cpsw.h
drivers/net/ethernet/ti/davinci_emac.c