linux/drivers/staging/comedi
H Hartley Sweeten 64255031bd staging: comedi: Add helper macro for comedi usb driver boilerplate
Introduce the module_comedi_usb_driver macro, and the
associated register/unregister functions, which is a
convenience macro for comedi usb driver modules similar
to module_platform_driver. It is intended to be used by
drivers where the init/exit section does nothing but
register/unregister the comedi driver and associated usb
driver. By using this macro it is possible to eliminate
a few lines of boilerplate code per comedi usb driver.

Also, when registering the usb driver check for failure
and unregister the comedi driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-16 19:19:06 -07:00
..
drivers staging: comedi: Convert struct addi_board initialization to C99 format 2012-05-16 19:18:15 -07:00
kcomedilib Staging: comedi: kcomedilib: fix coding style issues in kcomedilib_main.c 2010-07-08 13:15:16 -07:00
comedi_compat32.c
comedi_compat32.h
comedi_fops.c staging: comedi: register sysfs device attributes with driver core 2012-05-14 13:00:55 -07:00
comedi_fops.h module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
comedi.h staging: comedi: COMEDI_CB_EOA is also used to report end-of-output. 2012-04-18 16:37:06 -07:00
comedidev.h staging: comedi: Add helper macro for comedi usb driver boilerplate 2012-05-16 19:19:06 -07:00
comedilib.h
drivers.c staging: comedi: Add helper macro for comedi usb driver boilerplate 2012-05-16 19:19:06 -07:00
internal.h staging: comedi: Add module parameters for default buffer size 2012-04-13 11:18:23 -07:00
Kconfig staging: comedi: Add kernel config for default buffer sizes 2012-04-13 11:18:23 -07:00
Makefile Staging: comedi: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:52 -07:00
proc.c
range.c
TODO Staging: comedi: Remove typedefs 2010-06-17 13:49:07 -07:00