diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-02-19 15:39:36 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-04-27 09:58:16 +0100 |
| commit | 5c2290c054f0746f34934540e7cb5160278f7e2b (patch) | |
| tree | 884d86529fec93c7837f596355e95c36117e263e /include/linux | |
| parent | 45c45b3f83d636563d005e10e07c198c18b488db (diff) | |
| download | linux-5c2290c054f0746f34934540e7cb5160278f7e2b.tar.gz linux-5c2290c054f0746f34934540e7cb5160278f7e2b.zip | |
iio: adc: ad7191: Don't check for specific errors when parsing properties
Instead of checking for the specific error codes (that can be considered
a layering violation to some extent) check for the property existence first
and then either parse it, or apply a default value.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
