net: hns: use device_* APIs instead of of_* APIs
authorKejian Yan <yankejian@huawei.com>
Fri, 3 Jun 2016 02:55:13 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2016 01:32:40 +0000 (21:32 -0400)
commit6162928c76dcba2504c88eff19cbc190995401d7
treebc76764bc3a30561efe01ae35a87cca16bb595d9
parent8a99ff5ab4f4f209358b177b376660066c9c4400
net: hns: use device_* APIs instead of of_* APIs

OF series functions can be used only for DT case. Use unified
device property function instead to support both DT and ACPI.

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/hns_dsaf_main.c
drivers/net/ethernet/hisilicon/hns/hns_enet.c