[PATCH] pmdomain: arm: scmi_pm_domain: remove code clutter

Javier Martinez Canillas javierm at redhat.com
Fri Jun 6 02:38:19 PDT 2025


Lukas Bulwahn <lbulwahn at redhat.com> writes:

> From: Lukas Bulwahn <lukas.bulwahn at redhat.com>
>
> There is no need to introduce the boolean power_on to select the constant
> value for state. Simply pass the value for state as argument. Just remove
> this code clutter.
>
> No functional change.
>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn at redhat.com>
> ---

Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat




More information about the linux-arm-kernel mailing list