HID: lg4ff: Remove sysfs iface before deallocating memory
authorMichal Malý <madcatxster@gmail.com>
Sat, 31 Mar 2012 09:35:05 +0000 (11:35 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 3 Apr 2012 02:11:12 +0000 (04:11 +0200)
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ý <madcatsxter@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

No differences found