Input: remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 15 Jan 2024 20:19:04 +0000 (21:19 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 20 Jan 2024 08:54:16 +0000 (00:54 -0800)
commit2a992413a112c8411e2eb0b31ca8d6d523a8dbe8
tree590c57ff612525f3697c2ab1f7630a04aaa3962f
parentbc4996184d56cfaf56d3811ac2680c8a0e2af56e
Input: 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().

Note that the upper limit of ida_simple_get() is exclusive, but the one of
ida_alloc_range() is inclusive. So a -1 has been added when needed.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/a885de14beead2cc3c1c946f192b8b178dac696a.1705349930.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c