From: David Herrmann Date: Mon, 5 Sep 2011 16:45:29 +0000 (+0200) Subject: HID: wacom: Unregister sysfs attributes on remove X-Git-Tag: v3.1-rc6~20^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9086617ea3a7f3e574ca64392b827bdd56f607eb;p=pandora-kernel.git HID: wacom: Unregister sysfs attributes on remove HID devices can be hotplugged so we should unregister all sysfs attributes when removing a driver. Otherwise, manually unloading the wacom-driver will not remove the sysfs attributes. Only when the device is disconnected, they are removed, eventually. Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed