Re: [PATCH] leds: leds-pwm: Convert to use devm_get_pwm

2012-11-12 Thread Péter Ujfalusi
On 11/10/2012 02:48 AM, Bryan Wu wrote: > On Wed, Nov 7, 2012 at 3:42 AM, Peter Ujfalusi wrote: >> Update the driver to use the new API for requesting pwm so we can take >> advantage of the pwm_lookup table to find the correct pwm to be used for the >> LED functionality. >> If the devm_get_pwm fai

Re: [PATCH] leds: leds-pwm: Convert to use devm_get_pwm

2012-11-09 Thread Bryan Wu
On Wed, Nov 7, 2012 at 3:42 AM, Peter Ujfalusi wrote: > Update the driver to use the new API for requesting pwm so we can take > advantage of the pwm_lookup table to find the correct pwm to be used for the > LED functionality. > If the devm_get_pwm fails we fall back to legacy mode to try to get t