net: hns: use platform_get_irq instead of irq_of_parse_and_map
authorKejian Yan <yankejian@huawei.com>
Fri, 3 Jun 2016 02:55:14 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2016 01:32:40 +0000 (21:32 -0400)
commit72fdddcefe603b9b7de3f1d6177dd413eceacb93
treeb14d7443d090bfa5ddf4e57864789c9b83cc5a06
parent6162928c76dcba2504c88eff19cbc190995401d7
net: hns: use platform_get_irq instead of irq_of_parse_and_map

As irq_of_parse_and_map is only used by DT case, it is excepted to use
a uniform interface. So it is used platform_get_irq() instead.

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