media: rc: Directly use ida_free()
authorkeliu <liuke94@huawei.com>
Fri, 27 May 2022 10:30:17 +0000 (11:30 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:33 +0000 (10:30 +0100)
commitcd54ff938091d890edf78e6555ec30c63dcd2eb5
treeb1b6eb7257abe6aa20d352ecb30ba15e2e00fa19
parent07456325a3c176d69e917cb0aa8cab846d9a6977
media: rc: Directly use ida_free()

Use ida_alloc() and ida_free() instead of the deprecated
ida_simple_get() and ida_simple_remove().

Signed-off-by: keliu <liuke94@huawei.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/rc/lirc_dev.c
drivers/media/rc/rc-main.c