Commit 89a3f111 authored by YAMANE Toshiaki's avatar YAMANE Toshiaki Committed by Greg Kroah-Hartman

staging/comedi: Use dev_ printks in drivers/adl_pci8164.c

fixed below checkpatch warning.
- WARNING: Prefer netdev_dbg(netdev, ... then dev_dbg(dev, ... then pr_debug(...  to printk(KERN_DEBUG ...
Signed-off-by: default avatarYAMANE Toshiaki <yamanetoshi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a74b5c51
...@@ -89,9 +89,9 @@ static void adl_pci8164_insn_read(struct comedi_device *dev, ...@@ -89,9 +89,9 @@ static void adl_pci8164_insn_read(struct comedi_device *dev,
} }
data[0] = inw(dev->iobase + axis_reg + offset); data[0] = inw(dev->iobase + axis_reg + offset);
printk(KERN_DEBUG "comedi: pci8164 %s read -> " dev_dbg(dev->class_dev,
"%04X:%04X on axis %s\n", "pci8164 %s read -> %04X:%04X on axis %s\n",
action, data[0], data[1], axisname); action, data[0], data[1], axisname);
} }
static int adl_pci8164_insn_read_msts(struct comedi_device *dev, static int adl_pci8164_insn_read_msts(struct comedi_device *dev,
...@@ -170,9 +170,9 @@ static void adl_pci8164_insn_out(struct comedi_device *dev, ...@@ -170,9 +170,9 @@ static void adl_pci8164_insn_out(struct comedi_device *dev,
outw(data[0], dev->iobase + axis_reg + offset); outw(data[0], dev->iobase + axis_reg + offset);
printk(KERN_DEBUG "comedi: pci8164 %s write -> " dev_dbg(dev->class_dev,
"%04X:%04X on axis %s\n", "pci8164 %s write -> %04X:%04X on axis %s\n",
action, data[0], data[1], axisname); action, data[0], data[1], axisname);
} }
......
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