summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2026-02-19 15:39:36 +0100
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:16 +0100
commit5c2290c054f0746f34934540e7cb5160278f7e2b (patch)
tree884d86529fec93c7837f596355e95c36117e263e /include/linux
parent45c45b3f83d636563d005e10e07c198c18b488db (diff)
downloadlinux-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