diff options
| author | Marco Felsch <m.felsch@pengutronix.de> | 2025-12-15 20:18:26 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2026-04-01 13:07:31 +0200 |
| commit | 52becc142280eeef828d19f9cd01fd653b588786 (patch) | |
| tree | 20bb4f49a51fb728d944510d31f8d78348bdf9d9 /rust/kernel | |
| parent | 279eb2dd550f829e1497901146bd2214a28bcd88 (diff) | |
pmdomain: imx93-blk-ctrl: convert to devm_* only
Convert the driver to devm_ APIs only by making use of
devm_add_action_or_reset() and devm_pm_runtime_enable() to simplify the
probe error path and to drop the .remove() callback. This also ensures
that the device release order equals the device probe error path order.
Furthermore drop the dev_set_drvdata() usage since the only user was the
.remove() callback which is removed by this commit.
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
