]> git.baikalelectronics.ru Git - kernel.git/commit
iio: fix opencoded for_each_set_bit()
authorYury Norov <yury.norov@gmail.com>
Wed, 9 Feb 2022 18:28:16 +0000 (10:28 -0800)
committerYury Norov <yury.norov@gmail.com>
Mon, 2 May 2022 13:30:39 +0000 (06:30 -0700)
commit44b06f549bcb360d98229617473f87a0c3e8a041
treeb841e042e5ac71718d8283f76a01674fa5252040
parenta1f248ed76314aa108ba048a5802fc4d75e066aa
iio: fix opencoded for_each_set_bit()

iio_simple_dummy_trigger_h() is mostly an opencoded for_each_set_bit().
Using for_each_set_bit() make code much cleaner, and more effective.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
drivers/iio/dummy/iio_simple_dummy_buffer.c