USB: staging: media: as102: convert to use module_usb_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 21:33:06 +0000 (14:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2012 21:33:06 +0000 (14:33 -0700)
commit9451df0ee893dbdfca626f2888654f321d241460
tree5e00f998b1ae8663c512022a6bfaaab3682f7057
parentfee5952fba478a395798c99531dc095e440a6ef0
USB: staging: media: as102: convert to use module_usb_driver

The as102 driver can be converted to use module_usb_driver() which saves
a lot of code, and gets rid of an unwanted err() call at the same time.

Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Sylwester Nawrocki <snjw23@gmail.com>
Cc: Piotr Chmura <chmooreck@poczta.onet.pl>
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/as102/as102_drv.c