Skip to content

Commit d6f6582

Browse files
VARoDeKmchehab
authored andcommitted
media: cx23885: 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 2856bbc commit d6f6582

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2235,9 +2235,6 @@ static struct pci_driver cx23885_pci_driver = {
22352235
.id_table = cx23885_pci_tbl,
22362236
.probe = cx23885_initdev,
22372237
.remove = cx23885_finidev,
2238-
/* TODO */
2239-
.suspend = NULL,
2240-
.resume = NULL,
22412238
};
22422239

22432240
static int __init cx23885_init(void)

0 commit comments

Comments
 (0)