]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: led: auto probe() LEDs with "default-state"
authorPatrick Bruenn <p.bruenn@beckhoff.com>
Wed, 11 Apr 2018 09:16:28 +0000 (11:16 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:33 +0000 (09:07 -0400)
commitbc882f5d5c7b4d6ed5e927bf838863af43c786e7
tree1ee253d888a739f08f6dd494a3152ea7036066c2
parentd90f0d4cae5c9349a412e3f924bf25e20e35ddfa
dm: led: auto probe() LEDs with "default-state"

To avoid board specificy LED activation code, automatically
activate gpio-leds with "default-state" property during bind().

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
drivers/led/led_gpio.c