]> 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)
commite25e697108a1fb204a81990b603c50de2506d968
treec1bfbb09dd0d4539ecd8225189a513c883cde366
parentcf1710d1388cf5bd81996b258399c4907d27006e
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