pci: layerscape: Use pci_generic_mmap_{read, write}_config
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Tue, 19 Sep 2017 20:18:05 +0000 (23:18 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2017 15:27:41 +0000 (11:27 -0400)
commite434a90ec43e1905d1f853f2355e973dfb83143b
treea8b5c71460b9707cb16c3d3fc714134325f3e304
parent75e3feac1bd707f205705d8e8d233db4c2e752fd
pci: layerscape: Use pci_generic_mmap_{read, write}_config

Use the new helpers to avoid boilerplate in the driver.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pcie_layerscape.c