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 <lars@metafoo.de>
Link: https://lore.kernel.org/r/20201114120000.6533-2-lars@metafoo.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
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-09-28 12:17:36 +02:00
2020-11-23 08:21:37 +01:00
2020-10-20 10:36:41 -07:00
2020-10-27 19:23:04 +01:00
2020-11-09 08:17:46 +01:00