Re: [PATCH v7 2/3] pwm_backlight: use power sequences

2012-10-19 Thread Stephen Warren
On 10/19/2012 03:20 AM, Tony Prisk wrote: > On Fri, 2012-10-19 at 18:06 +0900, Alexandre Courbot wrote: >> Make use of the power sequences specified in the device tree or platform >> data to control how the backlight is powered on and off. Tony, please do cut down the amount of the patch that you

Re: [PATCH v7 2/3] pwm_backlight: use power sequences

2012-10-19 Thread Alex Courbot
On Friday 19 October 2012 17:20:36 Tony Prisk wrote: > On Fri, 2012-10-19 at 18:06 +0900, Alexandre Courbot wrote: > > +static void pwm_backlight_on(struct backlight_device *bl) > > +{ > > + struct pwm_bl_data *pb = dev_get_drvdata(&bl->dev); > > + int ret; > > + > > + if (pb->enabled)

Re: [PATCH v7 2/3] pwm_backlight: use power sequences

2012-10-19 Thread Tony Prisk
On Fri, 2012-10-19 at 18:06 +0900, Alexandre Courbot wrote: > Make use of the power sequences specified in the device tree or platform > data to control how the backlight is powered on and off. > > Signed-off-by: Alexandre Courbot > --- > .../bindings/video/backlight/pwm-backlight.txt | 72

[PATCH v7 2/3] pwm_backlight: use power sequences

2012-10-19 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot --- .../bindings/video/backlight/pwm-backlight.txt | 72 - drivers/video/backlight/Kconfig| 1 + d