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)
commit5be149bdd36c8765c9e785f70b888d028ada40af
tree1b6997f1125690425a4f0d3b073a31de2c87f8ea
parent0d18c19288601b66ad2852cceb66ae68972243dc
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