staging: comedi: skel: use module_comedi_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 26 Oct 2012 15:24:46 +0000 (23:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:14:53 +0000 (09:14 -0700)
commitea8690997095a8ba8d9dc22ae7fe75e64f047e38
treea4bc42f476cb9f4efbbecb7c58fed7e843ef9b8e
parent3d568028ba910ab03b3186d0b8331acd8f0ec15e
staging: comedi: skel: use module_comedi_driver to simplify the code

Use the module_comedi_driver() macro to make the code simpler
by eliminating module_init and module_exit calls.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/skel.c