]> git.itanic.dy.fi Git - linux-stable/commit
PCI: vmd: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Dec 2023 17:50:03 +0000 (18:50 +0100)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 13 Dec 2023 19:23:35 +0000 (19:23 +0000)
commit991801bc4722e287035e907a0202954a2ffb2798
tree82aff7835d2ea37c0184f74511e7338a43c3b4a2
parentb85ea95d086471afb4ad062012a4d73cd328fa86
PCI: vmd: Remove usage of the deprecated ida_simple_xx() API

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

This is 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