diff options
| author | Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com> | 2025-12-22 14:43:45 +0100 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-01-21 14:16:02 +0530 |
| commit | 230c817a1601af3ac2c9fdf3fbde9a3fee6bd26c (patch) | |
| tree | 0d5912ee27dafd27e8ac9a85ee2bf62350f293de /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | d6db3b3af74a26b65d1ec1e86f9738c784e7ae29 (diff) | |
phy: renesas: rcar-gen3-usb2: Use devm_pm_runtime_enable()
Replace pm_runtime_enable() with devm_pm_runtime_enable() to ensure proper
cleanup if the probe fails. This change enhances driver reliability by
avoiding resource leaks, as the devm-managed version automatically handles
disabling at probe failure or device removal.
Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/ca028d41f84227efeccb0cbdff22fbf16e5cf6ab.1766405010.git.tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
