diff options
| author | Liviu Stan <liviu.stan@analog.com> | 2026-05-25 19:39:33 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:50 +0100 |
| commit | b46696afbceffd926adbeb62180554c2096cee78 (patch) | |
| tree | ec8e442de76cf0deace35d4422088536702f5765 /scripts/dummy-tools/python3 | |
| parent | ae81c43f6c01a441ea8ce77f37903853595b6bb3 (diff) | |
iio: temperature: ltc2983: Use fwnode_property_present() for optional properties
Checking fwnode_property_read_u32() return value with if (!ret)
silently swallows meaningful error codes when a property is present
but malformed. Use fwnode_property_present() first so that absence
uses the default while a present but unreadable property returns
a proper error.
Signed-off-by: Liviu Stan <liviu.stan@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions
