]> git.baikalelectronics.ru Git - kernel.git/commit
media: ipu3-cio2: Replace open-coded for_each_set_bit()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Jul 2021 20:21:26 +0000 (22:21 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:44 +0000 (10:07 +0200)
commit5c461d8f371b5e23521ea1cb6a9f566d82408f37
tree29a4a2177859d7f9dcf401fbf9cd22db2b098e96
parente686b14ad61f75a721ab0cfa3d2524364ab07ee3
media: ipu3-cio2: Replace open-coded for_each_set_bit()

Use for_each_set_bit() instead of open-coding it to simplify the code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/intel/ipu3/ipu3-cio2-main.c