Commit 239f112
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 <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent eaeee42 commit 239f112
1 file changed
+6
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3056 | 3056 | | |
3057 | 3057 | | |
3058 | 3058 | | |
3059 | | - | |
3060 | | - | |
3061 | | - | |
3062 | | - | |
3063 | 3059 | | |
3064 | 3060 | | |
3065 | 3061 | | |
| |||
3086 | 3082 | | |
3087 | 3083 | | |
3088 | 3084 | | |
3089 | | - | |
3090 | | - | |
3091 | | - | |
3092 | | - | |
3093 | | - | |
3094 | 3085 | | |
3095 | 3086 | | |
3096 | 3087 | | |
| |||
3260 | 3251 | | |
3261 | 3252 | | |
3262 | 3253 | | |
3263 | | - | |
3264 | | - | |
3265 | 3254 | | |
3266 | 3255 | | |
3267 | 3256 | | |
| |||
3425 | 3414 | | |
3426 | 3415 | | |
3427 | 3416 | | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
| 3420 | + | |
| 3421 | + | |
3428 | 3422 | | |
3429 | 3423 | | |
3430 | 3424 | | |
| |||
3438 | 3432 | | |
3439 | 3433 | | |
3440 | 3434 | | |
3441 | | - | |
3442 | | - | |
3443 | | - | |
3444 | | - | |
3445 | | - | |
3446 | | - | |
3447 | | - | |
| 3435 | + | |
3448 | 3436 | | |
3449 | 3437 | | |
3450 | 3438 | | |
| |||
0 commit comments