net: hisilicon: cleanup to prepare for other cases
authorKejian Yan <yankejian@huawei.com>
Fri, 3 Jun 2016 02:55:11 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2016 01:32:40 +0000 (21:32 -0400)
commit16a9f36150aa3cc516e8df0d1a979b5ca0c907ba
tree21d23320dbff274f5f04de46e5d61b40254ba94b
parent4ae399241adba66ad72e5973a1004f37ffbe67cd
net: hisilicon: cleanup to prepare for other cases

Hns-mdio only supports DT case now. do some cleanup to prepare
for introducing other cases later, no functional change.

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