Skip to content
Commit d617808e authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Sudeep Holla
Browse files

firmware: arm_scmi: 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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Tested-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/c073b1607ada34d5bde6ce1009179cf15bbf0da3.1657308593.git.christophe.jaillet@wanadoo.fr


Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 2ab4f401
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment