diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-02-28 21:22:00 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 13b79a0d88e350ec874e45fdbd08cb6f37fa4a48 (patch) | |
tree | 01911b0bcfe9910f48c933e10608c01e02d1cba3 /ipc | |
parent | 677c50721181b0375a763941ce188997588b1ace (diff) |
staging: sm750fb: Use pcim_enable_device()
Devm_ functions allocate memory that is released when a driver
detaches.
Replace pci_enable_device with the managed pcim_enable_device
and remove corresponding pci_disable_device from probe and
suspend functions of a pci_dev.
Also, an unnecessary label has been removed by replacing it
with a direct return statement.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions