media: meson-ir-tx: remove superfluous dev_err()
Remove dev_err() messages after platform_get_irq*() failures. platform_get_irq() already prints an error. Generated by: scripts/coccinelle/api/platform_get_irq.cocci Signed-off-by: Yihao Han <hanyihao@vivo.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
3d59142ad9
commit
82b4737fd0
|
@ -323,10 +323,8 @@ static int __init meson_irtx_probe(struct platform_device *pdev)
|
||||||
return PTR_ERR(ir->reg_base);
|
return PTR_ERR(ir->reg_base);
|
||||||
|
|
||||||
irq = platform_get_irq(pdev, 0);
|
irq = platform_get_irq(pdev, 0);
|
||||||
if (irq < 0) {
|
if (irq < 0)
|
||||||
dev_err(dev, "no irq resource found\n");
|
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
|
||||||
|
|
||||||
ir->dev = dev;
|
ir->dev = dev;
|
||||||
ir->carrier = MIRTX_DEFAULT_CARRIER;
|
ir->carrier = MIRTX_DEFAULT_CARRIER;
|
||||||
|
|
Loading…
Reference in New Issue