[alsa-devel] [PATCH v2 6/6] ASoC: Intel: Skylake: remove call to pci_dev_put
Vinod Koul
vinod.koul at intel.com
Tue Mar 15 12:09:28 CET 2016
In driver remove we call pci_dev_put(), that is not required as we never
call pci_dev_get() so remove that.
Signed-off-by: Jeeja KP <jeeja.kp at intel.com>
Signed-off-by: Vinod Koul <vinod.koul at intel.com>
---
sound/soc/intel/skylake/skl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 72971dc55c52..07d9bc1cf3cb 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);
--
1.9.1
More information about the Alsa-devel
mailing list