Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i2c: xiic: remove duplicate error message

The devm_request_threaded_irq() already prints an error message. Remove
the duplicate.

Signed-off-by: Abdurrahman Hussain <abdurrahman@nexthop.ai>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260223-i2c-xiic-v12-2-b6c9ce4e4f3c@nexthop.ai

authored by

Abdurrahman Hussain and committed by
Andi Shyti
e1d98e42 50c63491

+1 -4
+1 -4
drivers/i2c/busses/i2c-xiic.c
··· 1491 1491 ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, 1492 1492 xiic_process, IRQF_ONESHOT, 1493 1493 pdev->name, i2c); 1494 - 1495 - if (ret < 0) { 1496 - dev_err_probe(&pdev->dev, ret, "Cannot claim IRQ\n"); 1494 + if (ret) 1497 1495 return ret; 1498 - } 1499 1496 1500 1497 i2c->singlemaster = 1501 1498 of_property_read_bool(pdev->dev.of_node, "single-master");