Add support for the generic backlight device to the IBM ACPI driver
PATCH 1/3 Add support for the generic backlight device to the IBM ACPI driver
Add support for the generic backlight interface below /sys/class/backlight. The patch keeps the procfs brightness handling for backward compatibility.
For this to archive, the patch adds two generic functions brightness_get and brightness_set to be used both by the procfs related and the sysfs related methods.
---
This is an updated version of the patch earlier sent which selects the right Kconfig option BACKLIGHT_DEVICE.
drivers/acpi/Kconfig +1 -0
@@ -200,6 +200,7 @@ config ACPI_ASUS config ACPI_IBM tristate "IBM ThinkPad Laptop Extras" depends on X86 + select BACKLIGHT_DEVICE ---help--- This is a Linux ACPI driver for the IBM ThinkPad laptops. It adds support for Fn-Fx key combinations, Bluetooth control, video
drivers/acpi/ibm_acpi.c +61 -14
136 lines not on this page · raw message
Hi!
Quoted 7 lines
Add support for the generic backlight interface below
/sys/class/backlight. The patch keeps the procfs brightness handling for backward compatibility.For this to archive, the patch adds two generic functions
brightness_getandbrightness_setto be used both by the procfs related and the sysfs related methods.
Looks okay to me, thanks!
Pavel
Signature · 1 line
Thanks for all the (sleeping) penguins.