OSDN Git Service

wifi: p54: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 4 Jul 2022 13:02:55 +0000 (15:02 +0200)
committerKalle Valo <kvalo@kernel.org>
Mon, 18 Jul 2022 11:51:54 +0000 (14:51 +0300)
commit0c574060060afa6ee18d99020634fe77b5c52c3d
treed94769d612f05bc524b42856869a1958b4a6b7ff
parent83781f0162d080fec7dcb911afd1bc2f5ad04471
wifi: p54: Use the bitmap API to allocate bitmaps

Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.

It is less verbose and it improves the semantic.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/2755b8b7d85a2db0663d39ea6df823f94f3401b3.1656939750.git.christophe.jaillet@wanadoo.fr
drivers/net/wireless/intersil/p54/fwio.c
drivers/net/wireless/intersil/p54/main.c