net: hns: change port-id property to reg property in dsaf port node
authorYisen.Zhuang\(Zhuangyuzeng\) <Yisen.Zhuang@huawei.com>
Thu, 28 Apr 2016 07:09:02 +0000 (15:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 17:39:03 +0000 (13:39 -0400)
commit0211b8fb5dd750357b3113a7c40b879c4a055a98
treea235c17a918575d098a49771d3ffe118a21a7f0a
parent1ffdfac99f36555b66c5b9d979c855a9c1a4503b
net: hns: change port-id property to reg property in dsaf port node

Indexes should generally be avoided. So we use reg rather than port-id to
index ports.

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_mac.c