From: Dmitry Torokhov Date: Wed, 7 Sep 2011 22:00:02 +0000 (-0700) Subject: WMI: properly cleanup devices to avoid crashes X-Git-Tag: v3.2-rc1~111^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=023b9565972a4a5e0f01b9aa32680af6e9b5c388;p=pandora-kernel.git WMI: properly cleanup devices to avoid crashes We need to remove devices that we destroy from the list, otherwise we'll crash if there are more than one "_WDG" methods in DSDT. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=32052 Tested-by: Ilya Tumaykin Cc: stable@kernel.org Signed-off-by: Dmitry Torokhov Acked-by: Carlos Corbacho Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed