Commit e75aca92 authored by Ravishankar karkala Mallikarjunayya's avatar Ravishankar karkala Mallikarjunayya Committed by Greg Kroah-Hartman

Staging: comedi: fix printk issue in das800.c

This is a patch to the das800.c file that fixes up a printk
warning found by the checkpatch.pl tool.

converted printks to dev_dbg.
Signed-off-by: default avatarRavishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bb1defe4
...@@ -296,47 +296,47 @@ static int das800_probe(struct comedi_device *dev) ...@@ -296,47 +296,47 @@ static int das800_probe(struct comedi_device *dev)
switch (id_bits) { switch (id_bits) {
case 0x0: case 0x0:
if (board == das800) { if (board == das800) {
printk(" Board model: DAS-800\n"); dev_dbg(dev->hw_dev, "Board model: DAS-800\n");
return board; return board;
} }
if (board == ciodas800) { if (board == ciodas800) {
printk(" Board model: CIO-DAS800\n"); dev_dbg(dev->hw_dev, "Board model: CIO-DAS800\n");
return board; return board;
} }
printk(" Board model (probed): DAS-800\n"); dev_dbg(dev->hw_dev, "Board model (probed): DAS-800\n");
return das800; return das800;
break; break;
case 0x2: case 0x2:
if (board == das801) { if (board == das801) {
printk(" Board model: DAS-801\n"); dev_dbg(dev->hw_dev, "Board model: DAS-801\n");
return board; return board;
} }
if (board == ciodas801) { if (board == ciodas801) {
printk(" Board model: CIO-DAS801\n"); dev_dbg(dev->hw_dev, "Board model: CIO-DAS801\n");
return board; return board;
} }
printk(" Board model (probed): DAS-801\n"); dev_dbg(dev->hw_dev, "Board model (probed): DAS-801\n");
return das801; return das801;
break; break;
case 0x3: case 0x3:
if (board == das802) { if (board == das802) {
printk(" Board model: DAS-802\n"); dev_dbg(dev->hw_dev, "Board model: DAS-802\n");
return board; return board;
} }
if (board == ciodas802) { if (board == ciodas802) {
printk(" Board model: CIO-DAS802\n"); dev_dbg(dev->hw_dev, "Board model: CIO-DAS802\n");
return board; return board;
} }
if (board == ciodas80216) { if (board == ciodas80216) {
printk(" Board model: CIO-DAS802/16\n"); dev_dbg(dev->hw_dev, "Board model: CIO-DAS802/16\n");
return board; return board;
} }
printk(" Board model (probed): DAS-802\n"); dev_dbg(dev->hw_dev, "Board model (probed): DAS-802\n");
return das802; return das802;
break; break;
default: default:
printk(" Board model: probe returned 0x%x (unknown)\n", dev_dbg(dev->hw_dev, "Board model: probe returned 0x%x (unknown)\n",
id_bits); id_bits);
return board; return board;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment