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: NKejian Yan <yankejian@huawei.com> Signed-off-by: NYisen Zhuang <Yisen.Zhuang@huawei.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录