]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: video: Add dev argument for backlight_device_register
authorYu Luming <luming.yu@gmail.com>
Tue, 19 Dec 2006 20:56:15 +0000 (12:56 -0800)
committerLen Brown <len.brown@intel.com>
Wed, 20 Dec 2006 06:42:19 +0000 (01:42 -0500)
commit9d2303d191ece69693b2fb2e71f4e40b06b59f45
tree6e404b214e426e6ccc08e414df405655fb2b404c
parente39579b796fb10e1129cbf9b29675a5e1efd3790
ACPI: video: Add dev argument for backlight_device_register

This patch set adds generic abstract layer support for acpi video driver to
have generic user interface to control backlight and output switch control by
leveraging the existing backlight sysfs class driver, and by adding a new
video output sysfs class driver.

This patch:

Add dev argument for backlight_device_register to link the class device to
real device object.  The platform specific driver should find a way to get the
real device object for their video device.

[akpm@osdl.org: build fix]
[akpm@osdl.org: fix msi-laptop.c]
Signed-off-by: Luming Yu <Luming.yu@intel.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/asus_acpi.c
drivers/acpi/ibm_acpi.c
drivers/acpi/toshiba_acpi.c
drivers/misc/msi-laptop.c
drivers/usb/misc/appledisplay.c
drivers/video/backlight/backlight.c
include/linux/backlight.h