diff options
| author | David Lechner <[email protected]> | 2024-03-25 14:40:36 -0500 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-03-28 13:22:21 +0000 |
| commit | 27eea4778db8268cd6dc80a5b853c599bd3099f1 (patch) | |
| tree | c5e62cbdd02884f32560e5c5ceff69a38913454c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 3d797af1d69a23571ec89dc4d95eb0e0e971d3d8 (diff) | |
iio: adc: ad7944: simplify adi,spi-mode property parsing
This simplifies the adi,spi-mode property parsing by using
device_property_match_property_string() instead of two separate
functions. Also, the error return value is now more informative
in cases where there was a problem parsing the property.
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions