summaryrefslogtreecommitdiffstats
path: root/drivers/misc/sony-laptop.c
Commit message (Collapse)AuthorAgeFilesLines
* sony-laptop: fix uninitialised variableAndrew Morton2007-03-071-1/+1
| | | | | | | | | | | drivers/misc/sony-laptop.c: In function 'sony_acpi_add': drivers/misc/sony-laptop.c:456: warning: 'result' may be used uninitialized in this function The compiler seems to actually be telling the truth this time. Cc: Mattia Dongili <malattia@linux.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com>
* backlight: Clean up pmac_backlight handlingRichard Purdie2007-02-201-6/+9
| | | | | | | Move the setting/unsetting of pmac_backlight into the backlight core instead of doing it in each driver. Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
* backlight: Remove unneeded owner fieldRichard Purdie2007-02-201-1/+0
| | | | | | | | | | | | Remove uneeded owner field from backlight_properties structure. Nothing uses it and it is unlikely that it will ever be used. The backlight class uses other means to ensure that nothing references unloaded code. Based on a patch from Dmitry Torokhov <dtor@insightbb.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
* sony-laptop: allow complex per-value input/output validationMattia Dongili2007-02-131-19/+62
| | | | | | | | | | | 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>
* sony-laptop: LindentLen Brown2007-02-131-73/+78
| | | | Signed-off-by: Len Brown <len.brown@intel.com>
* sony-laptop: Group functions and structures to better draw subsytems usageMattia Dongili2007-02-131-41/+51
| | | | | Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
* sony-laptop: Remove /proc/acpi/sony interface and implement platform_device.Mattia Dongili2007-02-131-198/+198
| | | | | | | | | Rework method names list to allow an easier management of multiple values. Add myself as author/maintainer and bump the version number. Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
* sony-laptop: create from sony_acpiMattia Dongili2007-02-131-0/+504
Move drivers/acpi/sony_acpi.c to drivers/misc/sony-laptop.c with all the necessary configuration. The SONY_LAPTOP config option substitutes the old ACPI_SONY and is 'default n' now. Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>
OpenPOWER on IntegriCloud