Files
linux/drivers
David Lechner 27eea4778d 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 <andy.shevchenko@gmail.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20240325-ad7944-cleanups-v3-1-3a19120cdd06@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-03-28 13:22:21 +00:00
..
2024-03-07 21:52:03 +00:00
2024-03-07 20:37:04 +00:00
2024-03-07 20:32:47 +00:00
2024-03-07 20:26:24 -08:00
2024-03-18 17:30:46 +00:00
2024-03-18 17:30:46 +00:00
2024-03-07 20:32:38 +00:00