]> git.dujemihanovic.xyz Git - u-boot.git/commit
Revert "dm: led: auto probe() LEDs with "default-state""
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Jul 2018 14:37:06 +0000 (16:37 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 14:27:32 +0000 (10:27 -0400)
commit1f6d81fe3398309cacd79f0fdc809502552d3e0c
treea38846cf227346b59f1b45fd8371893ee567e86a
parent8e1665102f699ec5605cc2bc8a0ff2aba2defb39
Revert "dm: led: auto probe() LEDs with "default-state""

This reverts commit bc882f5d5c7b4d6ed5e927bf838863af43c786e7.
because this patch adds the probe of LED driver during the
binding phasis. It is not allowed in driver model because
the drivers (clock, pincontrol) needed by the LED driver can
be also probed before the binding of all the device and
it is a source of problems.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/led/led_gpio.c