]> git.baikalelectronics.ru Git - kernel.git/commit
asus-laptop: platform dev as parent for led and backlight
authorCorentin Chary <corentincj@iksaif.net>
Tue, 16 Jun 2009 19:28:46 +0000 (19:28 +0000)
committerLen Brown <len.brown@intel.com>
Wed, 24 Jun 2009 05:30:47 +0000 (01:30 -0400)
commit24d593ba586f57660bf21d63388c541624b18082
treec782aa006e2008a7e045cd39d1e91c7de75d41df
parente43c3807182b5ee0a65560206585fd03f7e0e74e
asus-laptop: platform dev as parent for led and backlight

Makes asus-laptop platform device the parent device of
backlight and led classes.

With this patch, leds and backlight are also available in
/sys/devices/platform/asus-laptop/ like thinkpad_acpi.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/asus-laptop.c