]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8fa0e9d7f3e8722ec6c652aece0b12854c751567
treebfeaa4d13e316a211fa507b9f60869182752c68e
parent1f0d5a1bbfed11ff8921ac7a233eb500345960f4
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