sony-laptop: allow complex per-value input/output validation
authorMattia Dongili <malattia@linux.it>
Mon, 12 Feb 2007 21:01:07 +0000 (22:01 +0100)
committerLen Brown <len.brown@intel.com>
Tue, 13 Feb 2007 08:08:04 +0000 (03:08 -0500)
Replace sony_acpi_value.{min,max} with a callback function that allows
more complex reasoning in accepting input and presenting output.

This allows consistency between the sony-laptop specific 'brightness_default'
and the backlight subsystem 0-based 'brightness'.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found