summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-03-16 21:51:31 +0530
committerMark Brown <broonie@kernel.org>2016-03-16 16:24:05 +0000
commit36e7972c0d3f8819a5d9335c36c5dcd168cd2b72 (patch)
treee8c49bed50d7631bb9d9165540341f6c3ee290ca /sound/soc/intel
parent5b2fe89856b2d0faaaea9e4b4b2c4920de7a600c (diff)
downloadop-kernel-dev-36e7972c0d3f8819a5d9335c36c5dcd168cd2b72.zip
op-kernel-dev-36e7972c0d3f8819a5d9335c36c5dcd168cd2b72.tar.gz
ASoC: Intel: Skylake: remove call to pci_dev_put
The PCI bus takes pci_dev_get() and pci_dev_put() is also there. So no need for drivers to invoke these. In SKL driver we were calling pci_dev_put() only which is not right, so remove this Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/skylake/skl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 72971dc..07d9bc1 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -724,7 +724,6 @@ static void skl_remove(struct pci_dev *pci)
if (pci_dev_run_wake(pci))
pm_runtime_get_noresume(&pci->dev);
- pci_dev_put(pci);
/* codec removal, invoke bus_device_remove */
snd_hdac_ext_bus_device_remove(ebus);
OpenPOWER on IntegriCloud