Skip to content
Commit 6162928c authored by Kejian Yan's avatar Kejian Yan Committed by David S. Miller
Browse files

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: default avatarKejian Yan <yankejian@huawei.com>
Signed-off-by: default avatarYisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8a99ff5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment