PCI: dwc: artpec6: Use devm_ioremap_resource() instead of devm_ioremap()
authorGustavo Pimentel <gustavo.pimentel@synopsys.com>
Mon, 14 May 2018 17:32:34 +0000 (18:32 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 15 May 2018 15:24:14 +0000 (16:24 +0100)
commit71dcce64593ff8d8266c9581cf2bfa5c5a5c8cf4
treee36cccda54f6fc1c5a0c8306e688ac9798100598
parent14b06ddd181832cad58b42d797b77bcdb495f4c9
PCI: dwc: artpec6: Use devm_ioremap_resource() instead of devm_ioremap()

Replace the use of devm_ioremap() with devm_ioremap_resource() as
reported and discussed in the mailing list thread link.

Link: https://lkml.kernel.org/r/20180120001645.GA21343@lenoch
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
drivers/pci/dwc/pcie-artpec6.c