powerpc/mpic: Use bitmap_zalloc() when applicable
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 17 Dec 2021 21:54:12 +0000 (22:54 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Dec 2021 00:54:05 +0000 (11:54 +1100)
commit2fe4ca6ad7f6a0b98f97c498320051e5066e4b95
treef1a0e24307058af1573f2fb95185e97cc5fd44aa
parent18678591846d668649fbd4f87b4a4c470818d386
powerpc/mpic: Use bitmap_zalloc() when applicable

'mpic->protected' is a bitmap. So use 'bitmap_zalloc()' to simplify
code and improve the semantic, instead of hand writing it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/aa145f674e08044c98f13f1a985faa9cc29c3708.1639777976.git.christophe.jaillet@wanadoo.fr
arch/powerpc/sysdev/mpic.c