intel_th: remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 14 Apr 2024 09:28:13 +0000 (11:28 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 29 Apr 2024 15:20:06 +0000 (08:20 -0700)
commit0f373e6d91b9dd75317d05a21abd999783cf70da
tree202fefcc6177b5fc1ea2624e92261390ced45f83
parent4a458576941c78d905415a4a6edb48d4c04f7444
intel_th: 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/2aca50a9d061faecfd4ded80b5874cd3be9b855d.1713086613.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/hwtracing/intel_th/core.c