]> git.karo-electronics.de Git - linux-beck.git/commit
usb/misc/chaoskey: Cleanup probe failure paths
authorOliver Neukum <oneukum@suse.com>
Wed, 17 Feb 2016 17:58:11 +0000 (09:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Feb 2016 04:12:21 +0000 (20:12 -0800)
commit0a15e24c2740b7db99fbe21642b33a3028700225
tree72419fece4a87385baecb8236eff348acd1b4cf5
parent5b93fe3143d7ae23d6b1bac4e55b871969197da9
usb/misc/chaoskey: Cleanup probe failure paths

Shares the cleanup code between all probe failure paths, instead of
having per-failure cleanup at each point in the function.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/chaoskey.c