mux: remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 14 Apr 2024 10:12:52 +0000 (12:12 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 29 Apr 2024 15:20:07 +0000 (08:20 -0700)
commit200a289b342bae6cbeb0b7406b2af55feef0de94
tree036209fcbd6b0861fea3c45ae454feb685408033
parent55dbc5b5174d0e7d1fa397d05aa4cb145e8b887e
mux: 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://lkml.kernel.org/r/f82e013abe4c71f1c7d06819f96472f298acdcf3.1713089554.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Peter Rosin <peda@axentia.se>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/mux/core.c