ARM: davinci: Use GPIO lookup table for DA850 LEDs

This switches the DA850 board to use a GPIO lookup table to
look up the GPIO LEDs. Thanks to the offset handling when
we define GPIOs as an offset into the chip, we can drop
some complex code.

Signed-off-by: Linus Walleij <>
Sekhar, Bartosz: I had this patch sitting around in my
tree, can any of you test it and/or apply it? The
prerequisite patch naming the GPIO expander properly
after .dev_name was commited a while back.
1 file changed