Skip to content
Commit 8f3fd895 authored by Enrico Weigelt's avatar Enrico Weigelt Committed by Linus Walleij
Browse files

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: default avatarEnrico Weigelt <info@metux.net>
Acked-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0f5cb8cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment