From: Zhang Rui Date: Wed, 25 Sep 2013 12:39:50 +0000 (+0800) Subject: ideapad_laptop: convert ideapad device/driver to platform bus X-Git-Tag: v3.13-rc1~96^2~24^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5c37b798f2d29b9b2926e0abf008a13ce6c91fe;p=pandora-kernel.git 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 CC: Matthew Garrett CC: Ike Panhc Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed