PCI: dwc: dra7xx: Use devm_ioremap_resource() instead of devm_ioremap()
authorGustavo Pimentel <gustavo.pimentel@synopsys.com>
Mon, 14 May 2018 17:32:35 +0000 (18:32 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 15 May 2018 15:41:49 +0000 (16:41 +0100)
commit011cb23c40e99e080c506accbbc740610da4e7fb
treea325fd8baf1cfe25fb575cf1d6da210254643bd1
parent71dcce64593ff8d8266c9581cf2bfa5c5a5c8cf4
PCI: dwc: dra7xx: 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 provided.

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: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/dwc/pci-dra7xx.c