diff options
| author | Christophe JAILLET <[email protected]> | 2024-01-20 06:58:46 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 22:02:04 +0000 |
| commit | 822d66c45e793240a9888463127059558bbe9c0d (patch) | |
| tree | 8abd15fafafc2ff2d189f0a588858bbfd9ff4928 /drivers/fpga/versal-fpga.c | |
| parent | sysfs: Introduce DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE() (diff) | |
| download | kernel-822d66c45e793240a9888463127059558bbe9c0d.tar.gz kernel-822d66c45e793240a9888463127059558bbe9c0d.zip | |
platform-msi: 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_max() is inclusive. So a -1 has been added when needed.
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/fd87836efa894aee0ae43e767369c85a2ee7e1ff.1705733916.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
0 files changed, 0 insertions, 0 deletions
