Browse Source

V4L/DVB (12937): SAA7164: Cleanup a printk

Cleanup a printk and output two helpful driver params in debug mode.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Steven Toth 16 years ago
parent
commit
2ceae8fdfa
1 changed files with 3 additions and 1 deletions
  1. 3 1
      drivers/media/video/saa7164/saa7164-core.c

+ 3 - 1
drivers/media/video/saa7164/saa7164-core.c

@@ -666,7 +666,9 @@ static int __devinit saa7164_initdev(struct pci_dev *pci_dev,
 		printk(KERN_ERR "%s() Unsupported board detected, "
 			"registering without firmware\n", __func__);
 
-	printk(KERN_INFO "%s() waitsecs = %d\n", __func__, waitsecs);
+	dprintk(1, "%s() parameter debug = %d\n", __func__, debug);
+	dprintk(1, "%s() parameter waitsecs = %d\n", __func__, waitsecs);
+
 fail_fw:
 	return 0;