net: hns: get reset registers from DT
authorKejian Yan <yankejian@huawei.com>
Fri, 1 Jul 2016 09:34:13 +0000 (17:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 20:56:52 +0000 (16:56 -0400)
commitb15dc29264d0bdad603d6b5956a4847443790078
tree7e8ddf2d03e8cebc1a428926e40b0c2b8204879c
parent5d2525f7b8a7df810c3fbc548a91ba6e3cde578a
net: hns: get reset registers from DT

Since the registers of subctrl may be different, it is better to
mv the registers from hns mdio driver routine to device tree node.

Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns_mdio.c