projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hid
/
hidraw.c
diff --git
a/drivers/hid/hidraw.c
b/drivers/hid/hidraw.c
index 00ccf4b1985d936280a0fc698fb5092950b1f5f1..0c6639ea03dd1748076dd8742035f1f154603cd9 100644
(file)
--- 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;
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)
dev = kzalloc(sizeof(struct hidraw), GFP_KERNEL);
if (!dev)