V4L/DVB (12937): SAA7164: Cleanup a printk
authorSteven Toth <stoth@kernellabs.com>
Sat, 8 Aug 2009 13:13:51 +0000 (10:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:15:04 +0000 (00:15 -0300)
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>
drivers/media/video/saa7164/saa7164-core.c

index 8f68a5d6533b3e9374e9c22d0f2b5084d89ab78a..06dab7cbcaacce3db44c864343cca22608066009 100644 (file)
@@ -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;
 
This page took 0.031605 seconds and 5 git commands to generate.