]> git.itanic.dy.fi Git - linux-stable/commit
nvdimm: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 10 Dec 2023 17:13:09 +0000 (18:13 +0100)
committerIra Weiny <ira.weiny@intel.com>
Wed, 3 Jan 2024 20:21:36 +0000 (12:21 -0800)
commitdeb369e0828faa245ef3c726b3d5e5f2740ac762
tree7575c84e04bb2d5cbe10efa785de58e42f35dc05
parentf7e2910fcec1fb2f78888e33ee994653fc29fb15
nvdimm: 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().

This is less verbose.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/50719568e4108f65f3b989ba05c1563e17afba3f.1702228319.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
drivers/nvdimm/btt_devs.c
drivers/nvdimm/bus.c
drivers/nvdimm/dax_devs.c
drivers/nvdimm/dimm_devs.c
drivers/nvdimm/namespace_devs.c
drivers/nvdimm/pfn_devs.c