From 204162572ff4a679a47c68a5d5b3ac2bcba3830e Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 1 May 2012 17:20:04 -0700 Subject: [PATCH] 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 Cc: Ian Abbott Cc: Mori Hess Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed