Skip to content

Commit

Permalink
HID: hidraw -- fix comment about accepted devices
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Jun 4, 2009
1 parent f0bca45 commit bbe281f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/hid/hidraw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bbe281f

Please sign in to comment.