diff options
author | Wang Hai <wanghai38@huawei.com> | 2021-07-31 08:38:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-02 16:09:52 +0200 |
commit | 7fe74dfd41c428afb24e2e615470832fa997ff14 (patch) | |
tree | c4e5d6364505a695d03e39c00bfbf5fa9318bdb6 /kernel/futex.c | |
parent | net: phy: micrel: Fix detection of ksz87xx switch (diff) | |
download | linux-7fe74dfd41c428afb24e2e615470832fa997ff14.tar.xz linux-7fe74dfd41c428afb24e2e615470832fa997ff14.zip |
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 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions