diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-02-19 10:46:31 +0300 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-03-09 00:01:10 +0300 |
commit | 91d5bb579c3666f09c160cc3c19c0456bff03cbe (patch) | |
tree | cb84cd442741ee555210631c6c8fad5fed58a6f0 /drivers/siox/siox.h | |
parent | 9ecfbf70537fe1209d0d27b5378260eb3e473c2f (diff) | |
download | linux-91d5bb579c3666f09c160cc3c19c0456bff03cbe.tar.xz |
siox: Provide a devm variant of siox_master_register()
This allows to simplify siox master drivers in the next step.
Acked-by: Thorsten Scherer <t.scherer@eckelmann.de>
Link: https://lore.kernel.org/r/e961dfb3e94f106b16f5eacff2110fc7fa0cab13.1708328466.git.u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'drivers/siox/siox.h')
-rw-r--r-- | drivers/siox/siox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/siox/siox.h b/drivers/siox/siox.h index b227e18b697a..513f2c8312f7 100644 --- a/drivers/siox/siox.h +++ b/drivers/siox/siox.h @@ -49,3 +49,5 @@ struct siox_master *devm_siox_master_alloc(struct device *dev, size_t size); int siox_master_register(struct siox_master *smaster); void siox_master_unregister(struct siox_master *smaster); + +int devm_siox_master_register(struct device *dev, struct siox_master *smaster); |