git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID: wacom: Unregister sysfs attributes on remove
[pandora-kernel.git]
/
drivers
/
hid
/
hid-wacom.c
diff --git
a/drivers/hid/hid-wacom.c
b/drivers/hid/hid-wacom.c
index
f66a597
..
a597039
100644
(file)
--- a/
drivers/hid/hid-wacom.c
+++ b/
drivers/hid/hid-wacom.c
@@
-423,6
+423,7
@@
static void wacom_remove(struct hid_device *hdev)
#ifdef CONFIG_HID_WACOM_POWER_SUPPLY
struct wacom_data *wdata = hid_get_drvdata(hdev);
#endif
+ device_remove_file(&hdev->dev, &dev_attr_speed);
hid_hw_stop(hdev);
#ifdef CONFIG_HID_WACOM_POWER_SUPPLY