summaryrefslogtreecommitdiff
path: root/drivers/staging/fieldbus/anybuss/arcx-anybus.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-01-15 23:22:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-24 21:18:12 +0300
commit5500382eeba89aa0d4e6d1b0a5b500e8ab9945cf (patch)
treecc0eb0993b697c690483317b2caf6147f6b4df10 /drivers/staging/fieldbus/anybuss/arcx-anybus.c
parent5b5ea3124488129f63a5ac176707731931673180 (diff)
downloadlinux-5500382eeba89aa0d4e6d1b0a5b500e8ab9945cf.tar.xz
staging: greybus: 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, buInputt the one of ida_alloc_range()/ida_alloc_max() 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/2e7bbdaf8a495bb1273396395b5c779363287581.1705350141.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fieldbus/anybuss/arcx-anybus.c')
0 files changed, 0 insertions, 0 deletions