pinctrl: nuvoton: npcm7xx: constify copied structure
authorJulia Lawall <Julia.Lawall@inria.fr>
Wed, 1 Jan 2020 07:43:34 +0000 (08:43 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 7 Jan 2020 12:55:55 +0000 (13:55 +0100)
commit4611e73f3670cef28027d12c272da80ae06cc86e
treee7b20dc8cca9d124650ddb7210bdfc5126b545ff
parent8b1704bde133d216e16027ddb1f24ee8322fcfec
pinctrl: nuvoton: npcm7xx: constify copied structure

The npcmgpio_irqchip structure is only copied into another
structure, so make it const.

The opportunity for this change was found using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://lore.kernel.org/r/1577864614-5543-17-git-send-email-Julia.Lawall@inria.fr
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c