Re: [PATCH v10 2/4] scsi: ufs: core: Add a helper for the system suspend callbacks

From: Peter Wang

Date: Wed Nov 11 2026 - 07:50:55 EST


On Wed, 2026-11-11 at 17:18 +0900, HOYOUNG SEO wrote:
> Move the body of ufshcd_wl_suspend() into ufshcd_wl_system_suspend(),
> which takes the PM operation as a parameter, so that it can be shared
> with ufshcd_wl_poweroff() in the next patch. ufshcd_wl_suspend()
> calls it
> with UFS_SYSTEM_PM.
>
> No functional change, except that the error message printed when the
> suspend fails now contains the name of the new function.
>
> Suggested-by: Bart Van Assche <bvanassche@xxxxxxx>
> Signed-off-by: HOYOUNG SEO <hy50.seo@xxxxxxxxxxx>
> ---

Reviewed-by: Peter Wang <peter.wang@xxxxxxxxxxxx>