PCI: mediatek: Use devm_of_pci_get_host_bridge_resources() to parse DT
authorHonghui Zhang <honghui.zhang@mediatek.com>
Fri, 30 Nov 2018 03:33:00 +0000 (11:33 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 30 Nov 2018 10:25:59 +0000 (10:25 +0000)
commit0c0f2f93e708b960985cf7e908d982366fe75770
treea5ec8448a8c8e6b35e26f215ce252543603b6a39
parent651022382c7f8da46cb4872a545ee1da6d097d2a
PCI: mediatek: Use devm_of_pci_get_host_bridge_resources() to parse DT

Use the devm_of_pci_get_host_bridge_resources() API in place of the PCI OF
DT parser.

Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Ryder Lee <ryder.lee@mediatek.com>
drivers/pci/controller/pcie-mediatek.c