cpufreq: brcmstb-avs: Remove redundant dev_err()

Since commit 55b48e23f5 ("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@vivo.com>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
[ Viresh: Fixed Subject ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
Pan Chuang
2026-07-13 21:11:31 +08:00
committed by Viresh Kumar
parent f456178290
commit 5a83170c87

View File

@@ -584,11 +584,8 @@ static int brcm_avs_prepare_init(struct platform_device *pdev)
ret = devm_request_irq(dev, priv->host_irq, irq_handler,
IRQF_TRIGGER_RISING,
BRCM_AVS_HOST_INTR, priv);
if (ret && priv->host_irq >= 0) {
dev_err(dev, "IRQ request failed: %s (%d) -- %d\n",
BRCM_AVS_HOST_INTR, priv->host_irq, ret);
if (ret && priv->host_irq >= 0)
goto unmap_intr_base;
}
if (brcm_avs_is_firmware_loaded(priv))
return 0;