]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit2b6579d4a71afb19c6583470783371b992944f67
treea88edfafb46b6137f5faaa0ed18456bf31a59846
parentc8b1b3dd89ea7b3f77a73e59c4c4495e16338e15
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