mirror of
https://github.com/torvalds/linux
synced 2024-09-29 16:00:27 +00:00
d5aeba456e
'shdma_slave_used' is a bitmap. So use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid some open-coded arithmetic in allocator arguments. Also change the corresponding 'kfree()' into 'bitmap_free()' to keep consistency. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/3efaf2784424ae3d7411dc47f8b6b03e7bb8c059.1637702701.git.christophe.jaillet@wanadoo.fr Signed-off-by: Vinod Koul <vkoul@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rcar-dmac.c | ||
rz-dmac.c | ||
shdma-arm.h | ||
shdma-base.c | ||
shdma.h | ||
shdmac.c | ||
usb-dmac.c |