Unverified Commit 33204363 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!15380 media: cx25821: Fix the warning when removing the module

parents 07c809cf 45965794
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1348,11 +1348,11 @@ static void cx25821_finidev(struct pci_dev *pci_dev)
	struct cx25821_dev *dev = get_cx25821(v4l2_dev);

	cx25821_shutdown(dev);
	pci_disable_device(pci_dev);

	/* unregister stuff */
	if (pci_dev->irq)
		free_irq(pci_dev->irq, dev);
	pci_disable_device(pci_dev);

	cx25821_dev_unregister(dev);
	v4l2_device_unregister(v4l2_dev);