PCI: vmd: Update type of the __iomem pointers
authorKrzysztof Wilczyński <kw@linux.com>
Sun, 29 Nov 2020 23:07:42 +0000 (23:07 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Dec 2020 20:56:08 +0000 (14:56 -0600)
commitce0602990fb762d53dd06167faedcd58d177199b
treecca1b1b953169362e722fd8b79ab9342e4cba6fc
parent63eab4944e4f33f69a6a72427490c4d5f8d3f072
PCI: vmd: Update type of the __iomem pointers

Use "void __iomem" instead "char __iomem" pointer type when working with
the accessor functions (with names like readb() or writel(), etc.) to
better match a given accessor function signature where commonly the address
pointing to an I/O memory region would be a "void __iomem" pointer.

Related: https://lwn.net/Articles/102232/

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20201129230743.3006978-5-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
drivers/pci/controller/vmd.c