diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-06-04 09:44:25 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-06-04 09:44:25 -0400 |
commit | bbe281fad65f2eda1792d70763663a1b729fc03c (patch) | |
tree | 077eeca884c95a94787a37c89dfc9bd6bebbdd60 /drivers/hid | |
parent | f0bca459829fd33d659c8cd0369ac86a3924a9bc (diff) |
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')
-rw-r--r-- | drivers/hid/hidraw.c | 5 |
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) | |||
349 | int minor, result; | 349 | int minor, result; |
350 | struct hidraw *dev; | 350 | struct hidraw *dev; |
351 | 351 | ||
352 | /* TODO currently we accept any HID device. This should later | 352 | /* we accept any HID device, no matter the applications */ |
353 | * probably be fixed to accept only those devices which provide | ||
354 | * non-input applications | ||
355 | */ | ||
356 | 353 | ||
357 | dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL); | 354 | dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL); |
358 | if (!dev) | 355 | if (!dev) |