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_probe() calls.

Signed-off-by: Pan Chuang <[email protected]>
---
 drivers/staging/fbtft/fb_st7789v.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/fbtft/fb_st7789v.c 
b/drivers/staging/fbtft/fb_st7789v.c
index 861a154144e6..ec46ad3f6a91 100644
--- a/drivers/staging/fbtft/fb_st7789v.c
+++ b/drivers/staging/fbtft/fb_st7789v.c
@@ -119,7 +119,7 @@ static int init_tearing_effect_line(struct fbtft_par *par)
        rc = devm_request_irq(dev, irq_te, panel_te_handler,
                              IRQF_TRIGGER_RISING, "TE_GPIO", par);
        if (rc)
-               return dev_err_probe(dev, rc, "TE IRQ request failed.\n");
+               return rc;
 
        disable_irq_nosync(irq_te);
 
-- 
2.34.1

Reply via email to