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)
commit056c308d3e4859334b519033d62ef050f0e0e261
tree8d7a995782d043c6417aef7740edf617c2431de1
parent07a2039b8eb0af4ff464efd3dfd95de5c02648c6
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