]> git.baikalelectronics.ru Git - kernel.git/commit
siox: Add helper macro to simplify driver registration
authorEnrico Weigelt <info@metux.net>
Mon, 24 Jun 2019 05:40:33 +0000 (07:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 14:56:51 +0000 (15:56 +0100)
commit0a81efb518d58fb16788d36efac7d6f31ffbba50
tree43265c5b2b9e0dd3b97d5761db3f206fdd7a4f35
parentb8a777e80c01c061d43a46bcce7d3d7037cb3f5a
siox: Add helper macro to simplify driver registration

Add more helper macros for trivial driver init cases, similar to the
already existing module_platform_driver() or module_i2c_driver().

This helps to reduce driver init boilerplate.

Signed-off-by: Enrico Weigelt <info@metux.net>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/siox.h