diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-05-02 02:20:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-03 00:55:24 +0200 |
commit | 204162572ff4a679a47c68a5d5b3ac2bcba3830e (patch) | |
tree | 55316da470056d5a2839af565d7eb1ef1eec0ccd /drivers/vme/bridges/vme_tsi148.c | |
parent | staging: iio: call iio_device_unregister() in max517_remove() (diff) | |
download | linux-204162572ff4a679a47c68a5d5b3ac2bcba3830e.tar.xz linux-204162572ff4a679a47c68a5d5b3ac2bcba3830e.zip |
staging: comedi: Add helper macro for comedi_driver boilerplate
Introduce the module_comedi_driver macro which is a convenience
macro for comedi 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. By using
this macro it is possible to eliminate a few lines of boilerplate
code per 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>
Diffstat (limited to 'drivers/vme/bridges/vme_tsi148.c')
0 files changed, 0 insertions, 0 deletions