staging/comedi: use comedi_usb_driver_(un)register for init/deinit
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 22 Jan 2013 20:07:32 +0000 (21:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 19:27:57 +0000 (11:27 -0800)
commitae59ecfd3ff45833c23913877d8c8d94eeb930d0
tree9aed04add97b6479a2b2860a9b04027645504e36
parente49ee36d2477e405da1fe0e6efbf4c122df3b300
staging/comedi: use comedi_usb_driver_(un)register for init/deinit

Instead of coding calling comedi_driver_(un)register and
usb_(de)register directly we can use the comedi_usb_driver_(un)register
wrapper.
This removes some boilerplate and is less error prone.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c