Skip to content

Commit 7aa87db

Browse files
VARoDeKmchehab
authored andcommitted
media: saa7164: 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 d20dcbb commit 7aa87db

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,9 +1539,6 @@ static struct pci_driver saa7164_pci_driver = {
15391539
.id_table = saa7164_pci_tbl,
15401540
.probe = saa7164_initdev,
15411541
.remove = saa7164_finidev,
1542-
/* TODO */
1543-
.suspend = NULL,
1544-
.resume = NULL,
15451542
};
15461543

15471544
static int __init saa7164_init(void)

0 commit comments

Comments
 (0)