ARM: integrator: impd1: Use GPIO_LOOKUP() helper macro
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 24 Mar 2020 13:56:46 +0000 (14:56 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Mar 2020 21:05:12 +0000 (22:05 +0100)
commitda3f594737cfa24c44769ff17ce2643f85eb0ef5
treebfeaa4d13e316a211fa507b9f60869182752c68e
parent5eefcaed501dd9e3933dbff58720244bd75ed90f
ARM: integrator: impd1: Use GPIO_LOOKUP() helper macro

impd1_probe() fills in the GPIO lookup table by manually populating an
array of gpiod_lookup structures.  Use the existing GPIO_LOOKUP() helper
macro instead, to relax a dependency on the gpiod_lookup structure's
member names.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20200324135653.6676-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/impd1.c