]> git.itanic.dy.fi Git - linux-stable/commit
misc: pci_endpoint_test: Remove usage of the deprecated ida_simple_*() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 19 Dec 2023 06:15:37 +0000 (07:15 +0100)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sun, 31 Dec 2023 11:08:56 +0000 (11:08 +0000)
commit130f335630b6475d314658ef69b225db8e328daa
treebbd68042f3f889b392aa796501ea71d17cbdf743
parent0eccea7150e3b8dfb3a08694964478966525c4c3
misc: pci_endpoint_test: Remove usage of the deprecated ida_simple_*() API

ida_alloc() and ida_free() should be preferred to the deprecated
ida_simple_get() and ida_simple_remove() functions.

This is also less verbose.

Link: https://lore.kernel.org/linux-pci/47a30441242c4d5f0e00555cbddd7783350ff1b2.1702966523.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/misc/pci_endpoint_test.c