diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-01-14 12:57:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-08 00:41:38 +0300 |
commit | 3bd291383c727bfbe6e8d21e2c16776fe9bd7dcf (patch) | |
tree | b75b8e49b89aa83b97248fff5a21523779d3bba7 /drivers/cdx/controller/cdx_controller.c | |
parent | 664c89c56e854f1a8a8b1968690ba08f7fe843fc (diff) | |
download | linux-3bd291383c727bfbe6e8d21e2c16776fe9bd7dcf.tar.xz |
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, but 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>
Reviewed-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/26425379d3eb9ba1b9af44468576ee20c77eb248.1705226208.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions