diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-09-19 23:18:04 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-10-06 11:27:41 -0400 |
commit | 75e3feac1bd707f205705d8e8d233db4c2e752fd (patch) | |
tree | 5cfcff23d9b8c4a97e81d6b2282847153a59fcc4 /drivers/pci/pci_sh4.c | |
parent | badb99220a42f88bc823c884e487657bfe734a4d (diff) |
pci: xilinx: Use pci_generic_mmap_{read, write}_config()
Use the new helper function to avoid boilerplate in the driver.
Note that this changes __raw_writel et al. to writel. AFAICT this is
no problem because:
- The Linux driver for the same hardware uses the non-__raw variants as
well (via pci_generic_config_write()).
- This driver seems to be used only on MIPS so far, where the __raw and
non-__raw accessors are the same.
Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/pci/pci_sh4.c')
0 files changed, 0 insertions, 0 deletions