drivers: mcb: directly use ida_alloc()/free()
authorkeliu <liuke94@huawei.com>
Tue, 12 Jul 2022 06:50:08 +0000 (23:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 07:04:55 +0000 (09:04 +0200)
commit3af0b1d34a07f89651b4a37295da34a3dd3f2e79
tree3b2d42b5e8a988e8c535a253d34a42d2b865b05a
parent7e724422a7e9dfc8229ba90ee95aaafb902a788b
drivers: mcb: 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>
Signed-off-by: Johannes Thumshirn <jth@kernel.org>
Link: https://lore.kernel.org/r/480676bee970da16bf1fa8565277240014395ba3.1657607743.git.johannes.thumshirn@wdc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-core.c