staging: bcm: fix error handling in bcm_init()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Sun, 2 Sep 2012 19:30:13 +0000 (23:30 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Sep 2012 21:28:42 +0000 (14:28 -0700)
bcm_init() does not have proper error handling of usb_register().
The patch implements one.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found