video: fbdev: don't print error message on platform_get_irq() failure
PATCH 1/1 video: fbdev: don't print error message on platform_get_irq() failure
The platform_get_irq() can print error message,so remove the redundant dev_err() here.
Signed-off-by Tang Bin <[email protected]>
--- drivers/video/fbdev/atmel_lcdfb.c | 1 - 1 file changed, 1 deletion(-)
drivers/video/fbdev/atmel_lcdfb.c +0 -1
@@ -1114,7 +1114,6 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) sinfo->irq_base =platform_get_irq (pdev,0 );if (sinfo->irq_base <0 ) { -dev_err (dev,"unable to get irq\n" ); ret = sinfo->irq_base; goto stop_clk; }
Signature · 1 line
2.20.1.windows.1
Quoted 4 lines · Tang Bin
The
platform_get_irq()can print error message,so remove the redundantdev_err()here.Signed-off-by Tang Bin <[email protected]>
Acked-by Nicolas Ferre <[email protected]>
Quoted 21 lines
--- drivers/video/fbdev/atmel_lcdfb.c | 1 - 1 file changed, 1 deletion(-)drivers/video/fbdev/atmel_lcdfb.c +0
-2@@ -1114,7 +1114,6 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) sinfo->irq_base =platform_get_irq (pdev,0 );if (sinfo->irq_base <0 ) { -dev_err (dev,"unable to get irq\n" ); ret = sinfo->irq_base; goto stop_clk; } --2.20.1.windows.1
Signature · 1 line
Nicolas Ferre
Sam Ravnborg
AppliedHi Tang Bin
Quoted 13 lines · Tang Bin
The
platform_get_irq()can print error message,so remove the redundantdev_err()here.Signed-off-by Tang Bin <[email protected]>--- drivers/video/fbdev/atmel_lcdfb.c | 1 - 1 file changed, 1 deletion(-)drivers/video/fbdev/atmel_lcdfb.c +0
-0
drivers/video/fbdev/atmel_lcdfb.c static int __init atmel_lcdfb_probe(struct platform_device *pdev) · line 1119
Quoted 7 lines
drivers/video/fbdev/atmel_lcdfb.c +0
-1@@ -1114,7 +1114,6 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) sinfo->irq_base =platform_get_irq (pdev,0 );if (sinfo->irq_base <0 ) { -dev_err (dev,"unable to get irq\n" ); ret = sinfo->irq_base; goto stop_clk; }
Thanks, applied to drm-misc-next. The fix will appear in kernel 5.8
Sam