diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2013-11-28 13:06:38 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-12-02 23:53:17 +0400 |
commit | aa1a6d6d74fff31060e08f6007037e6d807c8130 (patch) | |
tree | 9e24e51ae5540d12b9460126fa1616257a71e8be /drivers/ntb | |
parent | dc1ccc48159d63eca5089e507c82c7d22ef60839 (diff) | |
download | linux-aa1a6d6d74fff31060e08f6007037e6d807c8130.tar.xz |
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>
Diffstat (limited to 'drivers/ntb')
0 files changed, 0 insertions, 0 deletions