From: Alex Chiang Date: Mon, 19 Oct 2009 21:14:40 +0000 (-0600) Subject: ACPI: dock: dock_add - hoist up platform_device_register_simple() X-Git-Tag: v2.6.33-rc1~47^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9751cb721ef650729e981c7b39abb7676cd646e1;p=pandora-kernel.git ACPI: dock: dock_add - hoist up platform_device_register_simple() Move the call to platform_device_register_simple so that we do it before allocating and initializing our struct dock_station. Signed-off-by: Alex Chiang Acked-by: Shaohua Li Signed-off-by: Len Brown --- Reading git-diff-tree failed