ACPI: dock: use dynamically allocated platform device
authorKristen Carlson Accardi <kristen.c.accardi@intel.com>
Wed, 9 May 2007 22:07:04 +0000 (15:07 -0700)
committerLen Brown <len.brown@intel.com>
Thu, 10 May 2007 07:30:41 +0000 (03:30 -0400)
commit0f6f2804563eee64f0fc7cbcb009b98b6f332af6
treee8da6af14580275736cfb7b7e6ecceb9a4887b7d
parent22fe4c2114e29477ca6738729c074ee8f60d3b73
ACPI: dock: use dynamically allocated platform device

Get rid of no release function warnings by switching to dynamically
allocating the platform_device and using the platform device release
routine in the base driver.

Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/dock.c