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.

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>

authored by

Felix Gu and committed by
Jonathan Cameron
dad46509 bfd61205

+1 -2
+1 -2
drivers/iio/adc/ti-ads1119.c
··· 740 740 NULL, IRQF_ONESHOT, 741 741 "ads1119", indio_dev); 742 742 if (ret) 743 - return dev_err_probe(dev, ret, 744 - "Failed to allocate irq\n"); 743 + return ret; 745 744 746 745 st->trig = devm_iio_trigger_alloc(dev, "%s-dev%d", 747 746 indio_dev->name,