Peter Ujfalusi aa1a6d6d74 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>
2013-12-02 11:53:17 -08:00
..
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2012-11-26 14:28:45 -08:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-10-22 10:57:34 -07:00
2013-10-22 10:57:34 -07:00
2013-10-22 10:57:34 -07:00
2013-08-26 17:22:11 -07:00
2012-11-28 12:35:06 -08:00
2013-08-26 17:22:11 -07:00
2013-10-22 10:57:34 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00
2013-08-26 17:22:11 -07:00