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

irqchip/renesas-intc-irqpin: Restore devm_ioremap() alignment

Restore alignment of the continuation of the devm_ioremap() call in
intc_irqpin_probe().

Fixes: 4bdc0d676a643140 ("remove ioremap_nocache and devm_ioremap_nocache")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200212084744.9376-1-geert+renesas@glider.be

authored by

Geert Uytterhoeven and committed by
Marc Zyngier
bc714c8b 66968d7d

+1 -1
+1 -1
drivers/irqchip/irq-renesas-intc-irqpin.c
··· 461 461 } 462 462 463 463 i->iomem = devm_ioremap(dev, io[k]->start, 464 - resource_size(io[k])); 464 + resource_size(io[k])); 465 465 if (!i->iomem) { 466 466 dev_err(dev, "failed to remap IOMEM\n"); 467 467 ret = -ENXIO;