acer-wmi/hp-wmi: use platform_device_unregister instead of platform_device_del in...
commit97ba0af097dc3428b85dc6a1282968d7ba9510f5
authorAxel Lin <axel.lin@gmail.com>
Thu, 3 Jun 2010 07:18:03 +0000 (3 15:18 +0800)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:48:49 +0000 (3 09:48 -0400)
treea59d5efd4e4f4549cabd921ca102260c7d235b0c
parenta5167c5b3a842b865b0ca87202b95cc8a84c9e7e
acer-wmi/hp-wmi: use platform_device_unregister instead of platform_device_del in module_exit

platform_device_unregister will also call platform_device_put() to drop reference count.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c
drivers/platform/x86/hp-wmi.c