Re: [PATCH] nvdimm: Remove usage of the deprecated ida_simple_xx() API

2023-12-11 Thread Dave Jiang
On 12/10/23 10:13, Christophe JAILLET wrote: > 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 Reviewed-by: Dave Jiang > --- > drivers/nvdimm/btt_devs.c | 6

[PATCH] nvdimm: Remove usage of the deprecated ida_simple_xx() API

2023-12-10 Thread Christophe JAILLET
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 --- drivers/nvdimm/btt_devs.c | 6 +++--- drivers/nvdimm/bus.c| 4 ++-- drivers/nvdimm/dax_devs.c | 4 ++--