diff options
author | Wang Hai <wanghai38@huawei.com> | 2021-07-31 09:38:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 17:09:52 +0300 |
commit | 7fe74dfd41c428afb24e2e615470832fa997ff14 (patch) | |
tree | c4e5d6364505a695d03e39c00bfbf5fa9318bdb6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a5e63c7d38d548b8dab6c6205e0b6af76899dbf5 (diff) | |
download | linux-7fe74dfd41c428afb24e2e615470832fa997ff14.tar.xz |
net: natsemi: 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.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions