From 368d290ba2a66338303b5d3998b182e404a9eb38 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 30 Oct 2007 13:02:44 +0100 Subject: [PATCH] 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 Signed-off-by: Jiri Kosina --- Reading git-format-patch failed