Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HID: fix hid->hiddev initialization in hiddev_connect()
Commit 0790340 ("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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information