Skip to content

Commit

Permalink
V4L/DVB (12937): SAA7164: Cleanup a printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent dd1ee44 commit 2ceae8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/media/video/saa7164/saa7164-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2ceae8f

Please sign in to comment.