]> git.baikalelectronics.ru Git - kernel.git/commit
mei: bus: add module_mei_cl_driver helper macro
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 19 Oct 2016 13:33:27 +0000 (16:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 12:21:21 +0000 (08:21 -0400)
commitdc38c0e48fbee2caea6a21a5440931056ed62937
tree1b6997f1125690425a4f0d3b073a31de2c87f8ea
parenteae9a6c8e1fdfe6e3dfd85d244b42a899dd3464b
mei: bus: add module_mei_cl_driver helper macro

Add module_mei_cl_driver helper macro for eliminating the boilerplate
code from mei_cl drivers registration. The macro is intended for
drivers which in their init/exit sections does only register/unregister
of a mei_cl driver.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/mei_cl_bus.h