summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hidraw.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-06-04 15:44:25 +0200
committerJiri Kosina <jkosina@suse.cz>2009-06-04 15:44:25 +0200
commitbbe281fad65f2eda1792d70763663a1b729fc03c (patch)
tree077eeca884c95a94787a37c89dfc9bd6bebbdd60 /drivers/hid/hidraw.c
parentf0bca459829fd33d659c8cd0369ac86a3924a9bc (diff)
downloadlinux-stable-bbe281fad65f2eda1792d70763663a1b729fc03c.tar.gz
linux-stable-bbe281fad65f2eda1792d70763663a1b729fc03c.tar.bz2
linux-stable-bbe281fad65f2eda1792d70763663a1b729fc03c.zip
HID: hidraw -- fix comment about accepted devices
hidraw accepts any devices, no matter if the device has already been claimed by other HID driver (hid-input, hidraw), and this is intended to stay. Fix up the comment to reflect reality. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hidraw.c')
-rw-r--r--drivers/hid/hidraw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c
index 00ccf4b1985d..0c6639ea03dd 100644
--- a/drivers/hid/hidraw.c
+++ b/drivers/hid/hidraw.c
@@ -349,10 +349,7 @@ int hidraw_connect(struct hid_device *hid)
int minor, result;
struct hidraw *dev;
- /* TODO currently we accept any HID device. This should later
- * probably be fixed to accept only those devices which provide
- * non-input applications
- */
+ /* we accept any HID device, no matter the applications */
dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL);
if (!dev)