diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2025-01-16 21:22:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-17 14:54:36 +0300 |
commit | 239f11209e5f282e16f5241b99256e25dd0614b6 (patch) | |
tree | 50a78f3530d9bf53b6ef1969ecf72248065972c8 /scripts/gdb/linux/utils.py | |
parent | eaeee4225dba30bef4d424bdf134a07b7f423e8b (diff) | |
download | linux-239f11209e5f282e16f5241b99256e25dd0614b6.tar.xz |
serial: sh-sci: Move runtime PM enable to sci_probe_single()
Relocate the runtime PM enable operation to sci_probe_single(). This change
prepares the codebase for upcoming fixes.
While at it, replace the existing logic with a direct call to
devm_pm_runtime_enable() and remove sci_cleanup_single(). The
devm_pm_runtime_enable() function automatically handles disabling runtime
PM during driver removal.
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/r/20250116182249.3828577-3-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions