]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: switchtec: Prefer ida_alloc()/free() over ida_simple_get()/remove()
authorKe Liu <liuke94@huawei.com>
Thu, 2 Jun 2022 07:11:15 +0000 (07:11 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Jun 2022 17:28:21 +0000 (12:28 -0500)
commitaa195350cdc8e93a890c56d0999b17c441b60b97
treec1bfbb09dd0d4539ecd8225189a513c883cde366
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
PCI: switchtec: Prefer ida_alloc()/free() over ida_simple_get()/remove()

Use ida_alloc() and ida_free() instead of deprecated ida_simple_get() and
ida_simple_remove().

Link: https://lore.kernel.org/r/20220602071115.3833935-1-liuke94@huawei.com
Signed-off-by: Ke Liu <liuke94@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Logan Gunthorpe <logang@deltatee.com>
drivers/pci/switch/switchtec.c