net: hns: enet specify a reference to dsaf by fwnode_handle
authorKejian Yan <yankejian@huawei.com>
Fri, 3 Jun 2016 02:55:15 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2016 01:32:40 +0000 (21:32 -0400)
commit7b2acae6fb28f0b3d32c0620f8045c4a1bf5bb92
treeb33e0ba44dc01c59be9a29100c8ece32e9d9c317
parent72fdddcefe603b9b7de3f1d6177dd413eceacb93
net: hns: enet specify a reference to dsaf by fwnode_handle

As device_node is only used by DT case, it is expected to find uniform
ways. So fwnode_handle is the suitable method.

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