ACPI: dock: dock_add - hoist up platform_device_register_simple()
authorAlex Chiang <achiang@hp.com>
Mon, 19 Oct 2009 21:14:40 +0000 (15:14 -0600)
committerLen Brown <len.brown@intel.com>
Wed, 16 Dec 2009 08:03:11 +0000 (03:03 -0500)
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>

No differences found