dell-laptop: Fix platform device unregistration
authorMatthew Garrett <mjg@redhat.com>
Tue, 9 Feb 2010 19:03:04 +0000 (14:03 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 25 Feb 2010 16:50:43 +0000 (11:50 -0500)
commitfacd61d7b70d9c061f08e0b76976f7f833888a70
treec5522fd381a3e834b45b3ffa1e9f3df31faef295
parent814cb8adbe2fb49302ac65bc31fa749143823860
dell-laptop: Fix platform device unregistration

dell-laptop currently fails to clean up its platform device correctly.
Make sure that it's unregistered.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c