mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
iio: pressure: abp2030pa: remove error message
Do not print a duplicate error message if devm_request_irq() fails. Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Petre Rodan <petre.rodan@subdimension.ro> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
1ec5e098ef
commit
b82f3047da
|
|
@ -523,7 +523,7 @@ int abp2_common_probe(struct device *dev, const struct abp2_ops *ops, int irq)
|
|||
ret = devm_request_irq(dev, irq, abp2_eoc_handler, IRQF_ONESHOT,
|
||||
dev_name(dev), data);
|
||||
if (ret)
|
||||
return dev_err_probe(dev, ret, "request irq %d failed\n", data->irq);
|
||||
return ret;
|
||||
}
|
||||
|
||||
ret = devm_iio_triggered_buffer_setup(dev, indio_dev, NULL,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user