]> git.baikalelectronics.ru Git - kernel.git/commit
Show the physical device node of backlight class device.
authorZhang Rui <rui.zhang@intel.com>
Mon, 22 Jun 2009 03:31:14 +0000 (11:31 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 24 Jun 2009 03:19:13 +0000 (23:19 -0400)
commit507e3c7b97484b2394c00578092a145eb6eeee9d
tree8d7a995782d043c6417aef7740edf617c2431de1
parent0b4e5213d176b9dedee7e7fa69254bee8bd46fd4
Show the physical device node of backlight class device.

Create symbol link from backlight class device to ACPI video device.

More and more laptops are shipped with multiple ACPI
video devices, while we export only one of them to userspace.

With this patch applied, we can know which ACPI video device
is used by "cat /sys/class/backlight/acpi_video0/device/path".

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c