Re: [PATCH] pmdomain: starfive: Remove redundant dev_err()

From: Ulf Hansson

Date: Thu Jul 16 2026 - 08:31:15 EST


On Thu, Jul 16, 2026 at 11:23 AM Pan Chuang <panchuang@xxxxxxxx> wrote:
>
> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
> devm_request_*_irq()"), devm_request_irq() automatically logs
> detailed error messages on failure. Remove the now-redundant
> driver-specific dev_err() calls.
>
> Signed-off-by: Pan Chuang <panchuang@xxxxxxxx>

Applied for next, thanks!

Kind regards
Uffe


> ---
> drivers/pmdomain/starfive/jh71xx-pmu.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pmdomain/starfive/jh71xx-pmu.c b/drivers/pmdomain/starfive/jh71xx-pmu.c
> index 74720c09a6e3..aff07b0f5523 100644
> --- a/drivers/pmdomain/starfive/jh71xx-pmu.c
> +++ b/drivers/pmdomain/starfive/jh71xx-pmu.c
> @@ -276,8 +276,6 @@ static int jh7110_pmu_parse_irq(struct platform_device *pdev, struct jh71xx_pmu
>
> ret = devm_request_irq(dev, pmu->irq, jh71xx_pmu_interrupt,
> 0, pdev->name, pmu);
> - if (ret)
> - dev_err(dev, "failed to request irq\n");
>
> jh71xx_pmu_int_enable(pmu, JH71XX_PMU_INT_ALL_MASK & ~JH71XX_PMU_INT_PCH_FAIL, true);
>
> --
> 2.34.1
>