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)
commit116bf2e010a0600371aede450351973821dfd9e2
treec782aa006e2008a7e045cd39d1e91c7de75d41df
parentcede2cb6ee9b0ddaa3dbc9939418ff177a831600
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