Re: [PATCH v2 1/2] soundwire: qcom: use the current PM macros
From: Konrad Dybcio
Date: Mon Nov 30 2026 - 03:33:30 EST
On 11/30/26 8:10 AM, Gopi Chandra Sekhar Reddy Kanala wrote:
> Switch from SET_RUNTIME_PM_OPS() to RUNTIME_PM_OPS() and pm_ptr(). The
> runtime PM callbacks are then always referenced, so they no longer need
> __maybe_unused, and the compiler still drops them when CONFIG_PM is
> disabled.
>
> No functional change.
>
> Signed-off-by: Gopi Chandra Sekhar Reddy Kanala <gopi.kanala@xxxxxxxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad