irqchip/gic-v3-its: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 14 Jan 2024 08:52:39 +0000 (09:52 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 13 Feb 2024 10:18:55 +0000 (11:18 +0100)
commitee4c1592b7e9a5bf89b962d7afd7e9b04c8d16ee
tree6c0d2fbcb578fa1392e0cfe94ffa7b82dc8e1eb5
parente955a71f83598a347eb45af5576e7eb6cb5bf285
irqchip/gic-v3-its: Remove usage of the deprecated ida_simple_xx() API

ida_alloc() and ida_free() should be used instead of the deprecated
ida_simple_get() and ida_simple_remove().

The upper limit of ida_simple_get() is exclusive, but the one of
ida_alloc_max() is inclusive. Adjust the code accordingly.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/3b472b0e7edf6e483b8b255cf8d1cb0163532adf.1705222332.git.christophe.jaillet@wanadoo.fr
drivers/irqchip/irq-gic-v3-its.c