diff options
| author | 2013-05-14 14:28:01 -0700 | |
|---|---|---|
| committer | 2013-05-16 16:25:59 -0700 | |
| commit | 9e8917b3828dbb05874a54dd36779f11a6ea56fa (patch) | |
| tree | 6847d3da9563532171f98b5107916060a85938ad /scripts/patch-kernel | |
| parent | staging: comedi: dt9812: move the sempaphore used by the comedi_driver (diff) | |
staging: comedi: dt9812: use module_comedi_usb_driver()
Now that the semaphore used by the comedi_driver is initialized
when the comedi_device private data is allocated, the module_init()
in this driver just clears the 'slot' data before calling
comedi_usb_driver_register(). This static data will already be
cleared when the driver is loaded.
Replace the module_{init,exit}() with the module_comedi_usb_driver()
macro to remove the boilerplate code.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
