From: Corentin Chary Date: Mon, 14 Sep 2009 10:43:51 +0000 (+0200) Subject: hp-wmi: fix rfkill memory leak on unload X-Git-Tag: v2.6.32-rc1~171^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09729f0b11a389e046f621f3e4841043f460b603;p=pandora-kernel.git hp-wmi: fix rfkill memory leak on unload rfkill_unregister() should always be followed by rfkill_destroy() In this case, rfkill_destroy was called two times on wifi_rfkill and never on bluetooth_rfkill. Signed-off-by: Corentin Chary Acked-by: Matthew Garrett Signed-off-by: Len Brown --- Reading git-diff-tree failed