[PATCH 4/4] pmdomain: rockchip: drop duplicated errno from supply failure message

Sebastian Reichel sebastian.reichel at collabora.com
Fri Sep 18 10:54:14 PDT 2026


Hi,

On Fri, Sep 18, 2026 at 08:07:38PM +0800, Shawn Lin wrote:
> dev_err_probe() already appends the error code.
> 
> Signed-off-by: Shawn Lin <shawn.lin at rock-chips.com>
> ---

Reviewed-by: Sebastian Reichel <sebastian.reichel at collabora.com>

-- Sebastian

> 
>  drivers/pmdomain/rockchip/pm-domains.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pmdomain/rockchip/pm-domains.c b/drivers/pmdomain/rockchip/pm-domains.c
> index e193f97..dd5e2987 100644
> --- a/drivers/pmdomain/rockchip/pm-domains.c
> +++ b/drivers/pmdomain/rockchip/pm-domains.c
> @@ -721,7 +721,7 @@ static int rockchip_pd_power_on(struct generic_pm_domain *domain)
>  	ret = rockchip_pd_regulator_enable(pd);
>  	if (ret)
>  		return dev_err_probe(pd->pmu->dev, ret,
> -				     "Failed to enable supply: %d\n", ret);
> +				     "Failed to enable supply\n");
>  
>  	ret = rockchip_pd_power(pd, true);
>  	if (ret)
> -- 
> 2.7.4
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20260918/0afaf009/attachment.sig>


More information about the Linux-rockchip mailing list