diff options
author | 2016-03-12 02:06:24 +0530 | |
---|---|---|
committer | 2016-03-11 22:09:09 -0800 | |
commit | 80f10bcc7f8c0ca4bc0ef61bdc001ec11d5991f9 (patch) | |
tree | 06bdf1b1157b22894631b40863cc3735741f6856 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Staging: ieee80211: Place constant on right side of the test. (diff) | |
download | wireguard-linux-80f10bcc7f8c0ca4bc0ef61bdc001ec11d5991f9.tar.xz wireguard-linux-80f10bcc7f8c0ca4bc0ef61bdc001ec11d5991f9.zip |
staging: rts5208: Replace pci_enable_device with pcim_enable_device
Devm_ functions allocate memory that is automatically freed when
a driver detaches.
Replace pci_enable_device with pcim_enable_device. Remove unnecessary
pci_disable_device and pci_release_regions from probe and remove
functions in rts5208 driver since pcim_enable_device contains a call
to pcim_release which contains calls to both pci_disable_device and
pci_release_regions.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions