Files
linux/drivers
Lars-Peter Clausen e08b60d352 iio: core: Simplify iio_format_list()
iio_format_list() has two branches in a switch statement that are almost
identical. They only differ in the stride that is used to iterate through
the item list.

Consolidate this into a common code path to simplify the code.

Signed-off-by: Lars-Peter Clausen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
2020-12-03 19:32:44 +00:00
..
2020-11-19 14:03:52 +01:00
…
2020-11-18 16:42:07 -08:00
…
2020-11-12 13:59:04 -07:00
…
…
…
…
…
…
…
…
2020-11-11 09:53:09 +01:00
…
…
…
…
2020-12-03 19:32:44 +00:00
…
…
…
…
…
…
…
2020-11-23 08:21:37 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-11-09 08:17:46 +01:00
…
…
…
…