summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-28 21:22:00 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-11 22:09:09 -0800
commit13b79a0d88e350ec874e45fdbd08cb6f37fa4a48 (patch)
tree01911b0bcfe9910f48c933e10608c01e02d1cba3 /ipc
parent677c50721181b0375a763941ce188997588b1ace (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