linux/drivers/dma/sh
Christophe JAILLET d5aeba456e dmaengine: sh: Use bitmap_zalloc() when applicable
'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>
2021-12-17 21:39:28 +05:30
..
Kconfig dmaengine: sh: Add DMAC driver for RZ/G2L SoC 2021-08-29 19:14:19 +05:30
Makefile dmaengine: sh: Add DMAC driver for RZ/G2L SoC 2021-08-29 19:14:19 +05:30
rcar-dmac.c dmaengine: rcar-dmac: refactor the error handling code of rcar_dmac_probe 2021-10-25 09:53:50 +05:30
rz-dmac.c dmaengine: sh: make array ds_lut static 2021-10-25 12:15:34 +05:30
shdma-arm.h dmaengine: use SPDX identifier for Renesas drivers 2018-08-29 21:58:49 +05:30
shdma-base.c dmaengine: sh: Use bitmap_zalloc() when applicable 2021-12-17 21:39:28 +05:30
shdma.h dmaengine: sh: Remove R-Mobile APE6 support 2018-12-05 13:01:54 +05:30
shdmac.c dmaengine: sh: Remove R-Mobile APE6 support 2018-12-05 13:01:54 +05:30
usb-dmac.c dmaengine: usb-dmac: make usb_dmac_get_current_residue unsigned 2021-08-02 12:16:47 +05:30