diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-14 17:10:32 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-27 13:46:17 +0200 |
| commit | 6466b919683f71e99a521341db70a95b0eb19a25 (patch) | |
| tree | 9d27561563a203a309d0cc118d302f763eebb44b /include | |
| parent | 3b3655a1d3a4ed621ee5c4fe1d9b833b74d92f59 (diff) | |
| download | linux-6466b919683f71e99a521341db70a95b0eb19a25.tar.gz linux-6466b919683f71e99a521341db70a95b0eb19a25.tar.bz2 linux-6466b919683f71e99a521341db70a95b0eb19a25.zip | |
usb: gadget: function: Remove usage of the deprecated ida_simple_xx() API
[ Upstream commit 920e7522e3bab5ebc2fb0cc1a034f4470c87fa97 ]
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_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/7cd361e2b377a5373968fa7deee4169229992a1e.1713107386.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
