On Fri, Apr 12, 2013 at 03:18:36PM +0300, Jani Nikula wrote: > In preparation of adding locking to backlight, make max backlight value > (the modulation frequency the PWM duty cycle value must not exceed) > internal to intel_panel.c. > > Have intel_panel_set_backlight() accept a caller defined range for level, > and scale input to max backlight value internally. > > Clean up intel_panel_get_max_backlight() and usage internally. > > Signed-off-by: Jani Nikula <jani.nikula at intel.com> Nice idea, Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> -Chris -- Chris Wilson, Intel Open Source Technology Centre