From: Alan Jenkins Date: Fri, 28 Aug 2009 12:56:36 +0000 (+0000) Subject: eeepc-laptop: make input device a child of the platform device X-Git-Tag: v2.6.32-rc1~171^2~14^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a9d5e8a649c606f520b7a7b9f4f46fba79c327;p=pandora-kernel.git eeepc-laptop: make input device a child of the platform device Sysfs showed the ehotk input device as a "virtual" device - lies! The input device is provided by a physical device, the eeepc platform. This requires that we move the creation of the input device to come after platform device is created. Input initialization is moved from ehotk_check() [sic] to a new function called eeepc_input_init(). This brings the input device into line with the other eeepc-laptop devices. Also, refuse to load if we fail to register the input device. Signed-off-by: Alan Jenkins Signed-off-by: Corentin Chary Signed-off-by: Len Brown --- Reading git-diff-tree failed