From: Michal Malý Date: Sat, 31 Mar 2012 09:35:05 +0000 (+0200) Subject: HID: lg4ff: Remove sysfs iface before deallocating memory X-Git-Tag: v3.5-rc1~138^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a2e176b2d6ae6bb528c0c1a50a6332e176cda12;p=pandora-kernel.git HID: lg4ff: Remove sysfs iface before deallocating memory This patch fixes a possible race condition caused by the sysfs interface being removed after the memory used by the interface was already kfree'd. Signed-off-by: Michal Malý Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed