commit | aa1a6d6d74fff31060e08f6007037e6d807c8130 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Thu Nov 28 01:06:38 2013 -0800 |
committer | Bryan Wu <cooloney@gmail.com> | Mon Dec 02 11:53:17 2013 -0800 |
tree | 9e24e51ae5540d12b9460126fa1616257a71e8be | |
parent | dc1ccc48159d63eca5089e507c82c7d22ef60839 [diff] |
leds: pwm: Fix for deferred probe in DT booted mode We need to make sure that the error code from devm_of_pwm_get() is the one the module returns in case of failure. Restructure the code to make this possible for DT booted case. With this patch the driver can ask for deferred probing when the board is booted with DT. Fixes for example omap4-sdp board's keyboard backlight led. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>