firmware: ti_sci: Use devm_bitmap_zalloc when applicable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 3 Nov 2022 06:41:30 +0000 (07:41 +0100)
committerNishanth Menon <nm@ti.com>
Fri, 4 Nov 2022 02:45:10 +0000 (21:45 -0500)
commit26507b033e84be6f821dc1693d667b5c809a7679
treecaff1b97c1553c4cd6c96d9886dd22c525e38be2
parentc07f216a8b72bac0c6e921793ad656a3b77f3545
firmware: ti_sci: Use devm_bitmap_zalloc when applicable

'xfer_alloc_table' is a bitmap. So use 'devm_bitmap_zalloc()' to simplify
code and improve the semantic of the code.

While at it, remove a redundant 'bitmap_zero()' call.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/43ab1a7dd073d0d037d5d4bbbd5f8335de605826.1667457664.git.christophe.jaillet@wanadoo.fr
drivers/firmware/ti_sci.c