dax: Remove usage of the deprecated ida_simple_xxx API
authorBo Liu <liubo03@inspur.com>
Mon, 26 Sep 2022 01:26:35 +0000 (21:26 -0400)
committerDan Williams <dan.j.williams@intel.com>
Fri, 30 Sep 2022 00:29:27 +0000 (17:29 -0700)
commit0f702033a64bd3adcd57c9d5cf91ea64c08fad42
tree2f34cdf49a01830d302fdd514fd9ec2d7633f75d
parent2e5021cc42ba26c98fe83b973d774a999fa4f219
dax: Remove usage of the deprecated ida_simple_xxx API

ida_alloc_max() makes it clear that the second argument is inclusive,
and the alloc/free terminology is more idiomatic and symmetric then
get/remove.

Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20220926012635.3205-1-liubo03@inspur.com
[djbw: reword changelog]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/super.c