dell-laptop: create a platform device as a parent for the rfkill devices etc.
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Wed, 19 Aug 2009 14:06:49 +0000 (15:06 +0100)
committerLen Brown <len.brown@intel.com>
Thu, 10 Dec 2009 05:01:47 +0000 (00:01 -0500)
commitada3248a5d38654b33b0ae2eabe1d7e3d9a9ffce
treeac6212cce1384d39581c9deea4ec380a869403a2
parent4311bb230e0f7e4daa5fd5bc0cc536e2bd1eff20
dell-laptop: create a platform device as a parent for the rfkill devices etc.

dell-laptop may not need to export any sysfs files, but it should still
create a platform device as a parent for the rfkill and backlight
devices.  Otherwise sysfs will display these as "virtual" devices,
with no connection to either physical hardware or the dell-laptop
module.

Apparently this is useful for hardware detection.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/dell-laptop.c