]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bitops: replace for_each_*_bit_from() with for_each_*_bit() where appropriate
authorYury Norov <yury.norov@gmail.com>
Mon, 23 Aug 2021 23:59:57 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:50 +0000 (09:34 +1000)
commitc83c6d80daded5580aa697dc3726e10fa06dab26
tree6f60224eba3da02e5898d247f3486cad56ed0ebf
parente4beeb99bc4b61ff5a958572348543f382b61dfc
bitops: replace for_each_*_bit_from() with for_each_*_bit() where appropriate

A couple of kernel functions call for_each_*_bit_from() with start bit
equal to 0.  Replace them with for_each_*_bit().

No functional changes, but might improve on readability.

Link: https://lkml.kernel.org/r/20210814211713.180533-13-yury.norov@gmail.com
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Alexander Lobakin <alobakin@pm.me>
Cc: Alexey Klimov <aklimov@redhat.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Dennis Zhou <dennis@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
arch/x86/kernel/apic/vector.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/hwmon/ltc2992.c