summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_platform.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2013-09-25 20:39:50 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-25 19:40:13 +0200
commitb5c37b798f2d29b9b2926e0abf008a13ce6c91fe (patch)
treeba31343b3f029f4c2d418c45b846480b6b1ee86f /drivers/acpi/acpi_platform.c
parent331e0ea243ed15bbf0958f46861505f2065e99f8 (diff)
downloadlinux-b5c37b798f2d29b9b2926e0abf008a13ce6c91fe.tar.bz2
ideapad_laptop: convert ideapad device/driver to platform bus
This patch does two things, 1. enumerate the ideapad device node to platform bus. 2. convert the current driver from ACPI bus to platform bus. Note, with this patch, the platform device node created by ACPI, with the name VPC2004:00, is used as the parent device of the input, backlight, rfkill sysfs class device. Plus the ideapad_platform private sysfs attributes, i.e. camera_power and fan_mode, are also moved to the new platform device node. The previous platform device node "ideapad" is removed. Signed-off-by: Zhang Rui <rui.zhang@intel.com> CC: Matthew Garrett <matthew.garrett@nebula.com> CC: Ike Panhc <ike.pan@canonical.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_platform.c')
-rw-r--r--drivers/acpi/acpi_platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index 6259bc28ef18..c20b02beec7c 100644
--- a/drivers/acpi/acpi_platform.c
+++ b/drivers/acpi/acpi_platform.c
@@ -30,7 +30,7 @@ static const struct acpi_device_id acpi_platform_device_ids[] = {
{ "PNP0D40" },
{ "ACPI0003" },
-
+ { "VPC2004" },
{ }
};