Re: [PATCH/RFC 2/8] leds: Improve and export led_update_brightness function

2014-03-23 Thread Sakari Ailus
Hi Jacek, On Thu, Mar 20, 2014 at 03:51:04PM +0100, Jacek Anaszewski wrote: led_update_brightness helper function used to be exploited only locally in the led-class.c module, where its result was being passed to the brightness_show sysfs callback. With the introduction of v4l2-flash

[PATCH/RFC 2/8] leds: Improve and export led_update_brightness function

2014-03-20 Thread Jacek Anaszewski
led_update_brightness helper function used to be exploited only locally in the led-class.c module, where its result was being passed to the brightness_show sysfs callback. With the introduction of v4l2-flash subdevice the same functionality became required for checking the current flash strobe