rsi: Use module_usb_driver
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Sat, 7 Jun 2014 03:18:30 +0000 (07:18 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 19 Jun 2014 19:49:16 +0000 (15:49 -0400)
commitb101426aae371b91ad10c7553e54725cc5844e4a
tree1bec06a9e23d5ed9d801387b1176232761f92173
parentef0a68a832cccfc8400aa32b2a3d65e16d29ae9d
rsi: Use module_usb_driver

module_usb_driver eliminates the boilerplate and makes the code simpler,
in addition to the fact currently rsi_module_init() ignores usb_deregister() error.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rsi/rsi_91x_usb.c