]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: core: bsg: Remove usage of the deprecated ida_simple_xxx() API
authorBo Liu <liubo03@inspur.com>
Fri, 17 Jun 2022 02:04:30 +0000 (22:04 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Jun 2022 01:22:51 +0000 (21:22 -0400)
commite05190a7f0b9c2c82ed59ea84d443525df2ff812
treea6633223404ec9d0d084251b77eac81e957cce4c
parentce1950eb176df2a8cf4a87f428239583921d9c7d
scsi: core: bsg: Remove usage of the deprecated ida_simple_xxx() API

Use ida_alloc_xxx()/ida_free() instead of
ida_simple_get()/ida_simple_remove().

The latter is deprecated and more verbose.

Link: https://lore.kernel.org/r/20220617020430.2300-1-liubo03@inspur.com
Signed-off-by: Bo Liu <liubo03@inspur.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bsg.c