ARM: OMAP1: ams-delta: Provide GPIO lookup table for LED device
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Mon, 5 Nov 2018 23:23:49 +0000 (00:23 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 29 Nov 2018 20:01:13 +0000 (12:01 -0800)
commit19a2668a8ae3a65542a4567d0130717362cfeb15
tree3acad708bb6942280c0678b52fd705a759860de7
parent0a48a4134912465fcdbaa3e5530e60649d50f123
ARM: OMAP1: ams-delta: Provide GPIO lookup table for LED device

Global GPIO numbers no longer have to be passed to leds-gpio driver,
replace their assignment with a lookup table.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-ams-delta.c