Commit aa19535
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>1 parent f2906aa commit aa19535
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1376 | 1376 | | |
1377 | 1377 | | |
1378 | 1378 | | |
1379 | | - | |
1380 | | - | |
| 1379 | + | |
1381 | 1380 | | |
1382 | 1381 | | |
1383 | 1382 | | |
| |||
1692 | 1691 | | |
1693 | 1692 | | |
1694 | 1693 | | |
1695 | | - | |
| 1694 | + | |
1696 | 1695 | | |
1697 | 1696 | | |
1698 | 1697 | | |
| |||
1704 | 1703 | | |
1705 | 1704 | | |
1706 | 1705 | | |
1707 | | - | |
| 1706 | + | |
1708 | 1707 | | |
1709 | 1708 | | |
1710 | 1709 | | |
| |||
0 commit comments