HID: unlock on error path in hid_device_probe()
authorDan Carpenter <error27@gmail.com>
Wed, 24 Aug 2011 11:27:46 +0000 (14:27 +0300)
committerJiri Kosina <jkosina@suse.cz>
Wed, 24 Aug 2011 14:39:23 +0000 (16:39 +0200)
commitba623a774f5b529f89b3d63e0837df52e16ffb3b
tree445b7da37ff5d883e5aaa3159950c89936d944b1
parent54d3339ac127bbf1efd3ae5a1f520a6c302c952a
HID: unlock on error path in hid_device_probe()

We recently introduced locking into this function, but we missed an
error path which needs an unlock.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c