commit | 156c221b728ccd4657c359cd25428946856beca8 | [log] [tgz] |
---|---|---|
author | Mattia Dongili <malattia@linux.it> | Mon Feb 12 22:01:07 2007 +0100 |
committer | Len Brown <len.brown@intel.com> | Tue Feb 13 03:08:04 2007 -0500 |
tree | c5a3b8be58a21ce544560f9b5aabc4a7a56fa744 | |
parent | 0d477faca3a661908378b602c3d12df73c922c9f [diff] |
sony-laptop: allow complex per-value input/output validation 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>