diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-03-12 02:06:24 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 80f10bcc7f8c0ca4bc0ef61bdc001ec11d5991f9 (patch) | |
tree | 06bdf1b1157b22894631b40863cc3735741f6856 /tools/perf/scripts/python/sched-migration.py | |
parent | 56c4a79958ebe7fc476f03a31589863813e4dd89 (diff) |
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions