Commit fc1f0e67 authored by Vaibhav Gupta's avatar Vaibhav Gupta Committed by Mauro Carvalho Chehab
Browse files

media: cx25821: use generic power management



The .suspend() and .resume() callbacks are not defined for this driver.
Still, their power management structure follows the legacy framework. To
bring it under the generic framework, simply remove the binding of
callbacks from struct "pci_driver".

Compile-tested only.

Signed-off-by: default avatarVaibhav Gupta <vaibhavgupta40@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d6f65828
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1374,9 +1374,6 @@ static struct pci_driver cx25821_pci_driver = {
	.id_table = cx25821_pci_tbl,
	.probe = cx25821_initdev,
	.remove = cx25821_finidev,
	/* TODO */
	.suspend = NULL,
	.resume = NULL,
};

static int __init cx25821_init(void)