soc: ti: k3-ringacc: Use devm_bitmap_zalloc() when applicable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 23 Dec 2021 16:14:46 +0000 (17:14 +0100)
committerNishanth Menon <nm@ti.com>
Wed, 2 Feb 2022 19:06:21 +0000 (13:06 -0600)
commita8eba8dde5fbf0b9f62a38230af6d66c389c37fc
tree5a8f10989ba88cb9667680bbb16bbd495dc23a78
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
soc: ti: k3-ringacc: Use devm_bitmap_zalloc() when applicable

'rings_inuse' and 'proxy_inuse' are bitmaps. So use 'devm_bitmap_zalloc()'
to simplify code and improve the semantic.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/45544b0d97a7bea7764292852842adf5085a7700.1640276001.git.christophe.jaillet@wanadoo.fr
drivers/soc/ti/k3-ringacc.c