Commit f748a07
PCI: Remove legacy pcim_release()
Thanks to preceding cleanup steps, pcim_release() is now not needed
anymore and can be replaced by pcim_disable_device(), which is the exact
counterpart to pcim_enable_device().
This permits removing further parts of the old PCI devres implementation.
Replace pcim_release() with pcim_disable_device(). Remove the now unused
function get_pci_dr(). Remove the struct pci_devres from pci.h.
Link: https://lore.kernel.org/r/20240613115032.29098-12-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>1 parent 25216af commit f748a07
2 files changed
Lines changed: 25 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
480 | | - | |
| 480 | + | |
481 | 481 | | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
| 482 | + | |
495 | 483 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
| 484 | + | |
| 485 | + | |
500 | 486 | | |
501 | 487 | | |
502 | 488 | | |
503 | 489 | | |
504 | 490 | | |
505 | 491 | | |
506 | | - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
507 | 496 | | |
508 | 497 | | |
509 | 498 | | |
510 | | - | |
511 | | - | |
| 499 | + | |
512 | 500 | | |
513 | | - | |
514 | | - | |
515 | | - | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
516 | 504 | | |
517 | | - | |
518 | | - | |
519 | | - | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
520 | 515 | | |
521 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
522 | 519 | | |
523 | 520 | | |
524 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | | - | |
817 | | - | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | | - | |
822 | | - | |
823 | | - | |
824 | | - | |
825 | | - | |
826 | | - | |
827 | | - | |
828 | | - | |
829 | 813 | | |
830 | 814 | | |
831 | 815 | | |
| |||
0 commit comments