commit | 76052749143d03006271cc0ce8205ad756917062 | [log] [tgz] |
---|---|---|
author | Jiri Kosina <jkosina@suse.cz> | Wed Jan 07 13:25:36 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jan 07 11:30:57 2009 -0800 |
tree | 35cc5bdd4588513f4ae1a7fde32ff8b037de883a | |
parent | 940fbf411e5fb42aee8ab7dd814b24080951dbfc [diff] |
HID: fix hid->hiddev initialization in hiddev_connect() Commit 079034073fa ("HID: hiddev cleanup -- handle all error conditions properly") by mistake removed proper initialization of hid->hiddev pointer in hiddev_connect() in case usb_register_dev() succeeds for the hiddev node. Put it properly back in place. Reported-and-tested-by: Gabriel C <nix.or.die@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>