summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>2018-05-27 15:55:48 +0200
committerTony Lindgren <tony@atomide.com>2018-07-02 05:27:21 -0700
commit8c14b0846f5c6e5e043c9250cbe34b44a0e216b7 (patch)
tree8f5a8e745982e63bbfc2f775cb94b6dfdda02176 /drivers/input
parent3e14de3bfb3afc296a33f1ccbab6d781e5bbb482 (diff)
downloadlinux-8c14b0846f5c6e5e043c9250cbe34b44a0e216b7.tar.gz
linux-8c14b0846f5c6e5e043c9250cbe34b44a0e216b7.tar.bz2
linux-8c14b0846f5c6e5e043c9250cbe34b44a0e216b7.zip
ARM: OMAP1: ams-delta: assign LED GPIO numbers from descriptors
Assign a label to latch1 GPIO device the LEDs hang off, enumerate its pins for the purpose of indexing gpio_led table, remove hardcoded GPIO numbers from that table replacing them with invalid GPIO numbers and remove initialization of incompletely described LED device from machine_init. As soon as the latch1 GPIO device is registered, use its label to find respective GPIO chip, identify each LED's GPIO descriptor by its pin number and assign its gobal GPIO number to the gpio_led table. Once completed, register the LED device. Created and tested against linux-v4.17-rc3. Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions