Skip to content

Commit fc1f0e6

Browse files
VARoDeKmchehab
authored andcommitted
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: Vaibhav Gupta <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent d6f6582 commit fc1f0e6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/media/pci/cx25821/cx25821-core.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,9 +1374,6 @@ static struct pci_driver cx25821_pci_driver = {
13741374
.id_table = cx25821_pci_tbl,
13751375
.probe = cx25821_initdev,
13761376
.remove = cx25821_finidev,
1377-
/* TODO */
1378-
.suspend = NULL,
1379-
.resume = NULL,
13801377
};
13811378

13821379
static int __init cx25821_init(void)

0 commit comments

Comments
 (0)