Commit e82b0c3
fbdev: tridentfb: Fix missing pci_disable_device() in probe and remove
Replace pci_enable_device() with pcim_enable_device(), pci_disable_device() and
pci_release_regions() will be called in release automatically.
Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
Signed-off-by: Helge Deller <deller@gmx.de>1 parent 5610bcf commit e82b0c3
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1470 | 1470 | | |
1471 | 1471 | | |
1472 | 1472 | | |
1473 | | - | |
| 1473 | + | |
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| |||
1710 | 1710 | | |
1711 | 1711 | | |
1712 | 1712 | | |
1713 | | - | |
1714 | 1713 | | |
1715 | 1714 | | |
1716 | 1715 | | |
1717 | 1716 | | |
1718 | | - | |
1719 | 1717 | | |
1720 | 1718 | | |
1721 | 1719 | | |
| |||
1730 | 1728 | | |
1731 | 1729 | | |
1732 | 1730 | | |
1733 | | - | |
1734 | | - | |
1735 | 1731 | | |
1736 | 1732 | | |
1737 | 1733 | | |
| |||
0 commit comments