]> git.itanic.dy.fi Git - linux-stable/commit
PCI: vmd: Remove usage of the deprecated ida_simple_*() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Dec 2023 17:50:03 +0000 (18:50 +0100)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sun, 31 Dec 2023 11:08:37 +0000 (11:08 +0000)
commit0eccea7150e3b8dfb3a08694964478966525c4c3
tree82aff7835d2ea37c0184f74511e7338a43c3b4a2
parentb85ea95d086471afb4ad062012a4d73cd328fa86
PCI: vmd: 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/270f25cdc154f3b0309e57b2f6421776752e2170.1702230593.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/vmd.c