commit | 368d290ba2a66338303b5d3998b182e404a9eb38 | [log] [tgz] |
---|---|---|
author | Dirk Hohndel <hohndel@linux.intel.com> | Tue Oct 30 13:02:44 2007 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Oct 31 13:30:35 2007 +0100 |
tree | 8c26ffd8f36e1ef1f0533f20b0018919a029a83b | |
parent | d624284b06f869dad87a70a8d0cad72fbf7527b9 [diff] |
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: Dirk Hohndel <hohndel@linux.intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>