[PATCH 0/6] bitmap: remove _reg_op()

From: Yury Norov
Date: Thu Oct 27 2022 - 21:49:12 EST


_reg_op() duplicates functionality of other bitmap functions.
This series removes it.

On top of this:
https://lore.kernel.org/lkml/20221027043810.350460-1-yury.norov@xxxxxxxxx/

Yury Norov (6):
bitmap: add bitmap_empty_from()
bitmap: replace _reg_op(REG_OP_ALLOC) with bitmap_set()
bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear()
bitmap: replace _reg_op(REG_OP_ISFREE) with bitmap_empty_from()
bitmap: fix opencoded bitmap_allocate_region()
bitmap: drop _reg_op()

include/linux/bitmap.h | 11 ++++++
lib/bitmap.c | 89 +++---------------------------------------
2 files changed, 17 insertions(+), 83 deletions(-)

--
2.34.1