]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/loongson-pch-ms: Use bitmap_free() to free bitmap
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 26 Dec 2021 14:46:21 +0000 (15:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 17 Jan 2022 13:16:26 +0000 (13:16 +0000)
commit423ea78a5d8681f7d4203d45866bf52e46fde561
tree8562d05ad037f2c1da91e920d5401223fc5b0bb2
parent03f2c5391c982639ae66e4341089d8bdf6af6eb6
irqchip/loongson-pch-ms: Use bitmap_free() to free bitmap

kfree() and bitmap_free() are the same. But using the latter is more
consistent when freeing memory allocated with bitmap_zalloc().

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/0b982ab54844803049c217b2899baa59602faacd.1640529916.git.christophe.jaillet@wanadoo.fr
drivers/irqchip/irq-loongson-pch-msi.c