]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sony: Fix error handling bug when touchpad registration fails
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Fri, 9 Dec 2016 03:09:50 +0000 (19:09 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 19 Dec 2016 14:07:37 +0000 (15:07 +0100)
commitb7f1669e969f7fadb3667deb89c9f63da65ee37f
treea88edfafb46b6137f5faaa0ed18456bf31a59846
parent80c37885659fe82e8f26c6da20cf1501371cbcab
HID: sony: Fix error handling bug when touchpad registration fails

The error handling code in sony_input_configured in general uses goto
based cleanup. Recently we migrated code from sony_probe to here, but
we didn't update the existing touchpad registration code, which was
already here to use the goto.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c