mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
iio: adc: ti-ads1119: Drop redundant error message
devm_request_threaded_irq already prints an error message when failure, so the error message is redundant, drop it. Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Felix Gu <ustc.gu@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
bfd61205ac
commit
dad46509b6
|
|
@ -740,8 +740,7 @@ static int ads1119_probe(struct i2c_client *client)
|
|||
NULL, IRQF_ONESHOT,
|
||||
"ads1119", indio_dev);
|
||||
if (ret)
|
||||
return dev_err_probe(dev, ret,
|
||||
"Failed to allocate irq\n");
|
||||
return ret;
|
||||
|
||||
st->trig = devm_iio_trigger_alloc(dev, "%s-dev%d",
|
||||
indio_dev->name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user