firmware: ti_sci: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 8 Jul 2022 19:23:46 +0000 (21:23 +0200)
committerNishanth Menon <nm@ti.com>
Fri, 28 Oct 2022 13:20:17 +0000 (08:20 -0500)
commit2f9b0402755c1320420825ea8cda27a5f18e0ac4
tree3c66d1ba5a37a9ec3b83c3d26d1baf263045f7eb
parentadf85adc2a7199b41e7a4da083bd17274a3d6969
firmware: ti_sci: Use the bitmap API to allocate bitmaps

Use devm_bitmap_zalloc() instead of hand-writing them.

It is less verbose and it improves 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/3ee11e9e83f7c1552d237f5c28f554319fcbbf1f.1657308216.git.christophe.jaillet@wanadoo.fr
drivers/firmware/ti_sci.c