]> git.itanic.dy.fi Git - linux-stable/commit
hwrng: virtio - Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Dec 2023 18:41:51 +0000 (19:41 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Dec 2023 09:52:53 +0000 (17:52 +0800)
commite4db80d80cff590eb5fe0444b665cec839c34133
treee7834b1b1c2dfa389e339a4556c391665940e9ad
parent1bed82257b1881b689ee41f14ecb4c20a273cac0
hwrng: virtio - 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.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/virtio-rng.c