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>
This commit is contained in:
parent
f0bca45982
commit
bbe281fad6
|
@ -349,10 +349,7 @@ int hidraw_connect(struct hid_device *hid)
|
||||||
int minor, result;
|
int minor, result;
|
||||||
struct hidraw *dev;
|
struct hidraw *dev;
|
||||||
|
|
||||||
/* TODO currently we accept any HID device. This should later
|
/* we accept any HID device, no matter the applications */
|
||||||
* probably be fixed to accept only those devices which provide
|
|
||||||
* non-input applications
|
|
||||||
*/
|
|
||||||
|
|
||||||
dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL);
|
dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL);
|
||||||
if (!dev)
|
if (!dev)
|
||||||
|
|
Loading…
Reference in New Issue