commit | 9751cb721ef650729e981c7b39abb7676cd646e1 | [log] [tgz] |
---|---|---|
author | Alex Chiang <achiang@hp.com> | Mon Oct 19 15:14:40 2009 -0600 |
committer | Len Brown <len.brown@intel.com> | Wed Dec 16 03:03:11 2009 -0500 |
tree | b497f5a6fe41802280c4991feab7ce17e873f4c4 | |
parent | c6f1905ea91bf56a921c6eb574488869c8c3eeff [diff] |
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 <achiang@hp.com> Acked-by: Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>