Skip to content
Commit 368d290b authored by Dirk Hohndel's avatar Dirk Hohndel Committed by Jiri Kosina
Browse files

HID: fix hidinput_connect ignoring retval from input_register_device



hidinput_connect() ignores retval from input_register_device(). Fix it
by properly undoing all the registrations that have been already done,
and return error.

Signed-off-by: default avatarDirk Hohndel <hohndel@linux.intel.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent d624284b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment