soundwire: qcom: Remove redundant dev_err()
Subsystems (4)
PATCH 1/1 soundwire: qcom: Remove redundant dev_err()
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in devm_request_*_irq()"), devm_request_threaded_irq() automatically logs detailed error messages on failure. Remove the now-redundant driver-specific dev_err() calls.
Signed-off-by Pan Chuang <[email protected]>
--- drivers/soundwire/qcom.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
drivers/soundwire/qcom.c +2 -6
@@ -1646,10 +1646,8 @@ static int qcom_swrm_probe(struct platform_device *pdev)IRQF_TRIGGER_RISING |IRQF_ONESHOT , "soundwire", ctrl); -if (ret) { -dev_err (dev,"Failed to request soundwire irq\n" ); +if (ret) goto err_clk; - } ctrl->wake_irq =of_irq_get (dev->of_node,1 );if (ctrl->wake_irq >0 ) {
@@ -1657,10 +1655,8 @@ static int qcom_swrm_probe(struct platform_device *pdev) qcom_swrm_wake_irq_handler,IRQF_TRIGGER_HIGH |IRQF_ONESHOT , "swr_wake_irq", ctrl); -if (ret) { -dev_err (dev,"Failed to request soundwire wake irq\n" ); +if (ret) goto err_init; - } } ctrl->bus.controller_id =-1 ;
Signature · 1 line
2.34.1