aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hidraw.c
diff options
context:
space:
mode:
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)
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)