diff options
author | Wang Hai <wanghai38@huawei.com> | 2021-07-28 20:11:07 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-04 12:47:55 +0200 |
commit | dda5c13325f1a0b05905c72e9f45b53e4022724c (patch) | |
tree | 09ce2ed4ee6866fb43ab1107d028b93a70e5ae15 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6cbc642e6f82c87198146bc9b35f01b720b36f36 (diff) |
sis900: Fix missing pci_disable_device() in probe and remove
[ Upstream commit 89fb62fde3b226f99b7015280cf132e2a7438edf ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions