drivers: spmi: Directly use ida_alloc()/free()
authorkeliu <liuke94@huawei.com>
Fri, 30 Sep 2022 00:50:10 +0000 (17:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Sep 2022 12:33:22 +0000 (14:33 +0200)
commit9357fc3b3b85a7d9f0dedf5446222a26957852b4
tree9a3ee75c2386131c322041c92ee6f9c399030451
parent54d0999f96abadcc0586fe577e6cf4dc4c2749c1
drivers: spmi: Directly use ida_alloc()/free()

Use ida_alloc()/ida_free() instead of deprecated
ida_simple_get()/ida_simple_remove() .

Signed-off-by: keliu <liuke94@huawei.com>
Link: https://lore.kernel.org/r/20220527071338.2359733-1-liuke94@huawei.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lore.kernel.org/r/20220930005019.2663064-2-sboyd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/spmi/spmi.c