Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lib/devres.c: fix checkpatch warnings

Fix 3 checkpatch warnings:
'ERROR: "foo * const * bar" should be "foo * const *bar"'

Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Fabian Frederick and committed by
Greg Kroah-Hartman
5cbb00cc 60901320

+3 -3
+3 -3
lib/devres.c
··· 194 194 * Managed ioport_map(). Map is automatically unmapped on driver 195 195 * detach. 196 196 */ 197 - void __iomem * devm_ioport_map(struct device *dev, unsigned long port, 197 + void __iomem *devm_ioport_map(struct device *dev, unsigned long port, 198 198 unsigned int nr) 199 199 { 200 200 void __iomem **ptr, *addr; ··· 265 265 * be safely called without context and guaranteed to succed once 266 266 * allocated. 267 267 */ 268 - void __iomem * const * pcim_iomap_table(struct pci_dev *pdev) 268 + void __iomem * const *pcim_iomap_table(struct pci_dev *pdev) 269 269 { 270 270 struct pcim_iomap_devres *dr, *new_dr; 271 271 ··· 290 290 * Managed pci_iomap(). Map is automatically unmapped on driver 291 291 * detach. 292 292 */ 293 - void __iomem * pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen) 293 + void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen) 294 294 { 295 295 void __iomem **tbl; 296 296