Staging: comedi: fix print(k) coding style issue in aio_aio12_8.c
This is a patch to the aio_aio12_8.c that fixes up print(k) warnings found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
af6ddd57f2
commit
24d2d8be91
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ static int aio_aio12_8_ai_read(struct comedi_device *dev,
|
||||||
while (timeout &&
|
while (timeout &&
|
||||||
!(inb(dev->iobase + AIO12_8_STATUS) & STATUS_ADC_EOC)) {
|
!(inb(dev->iobase + AIO12_8_STATUS) & STATUS_ADC_EOC)) {
|
||||||
timeout--;
|
timeout--;
|
||||||
printk("timeout %d\n", timeout);
|
printk(KERN_ERR "timeout %d\n", timeout);
|
||||||
udelay(1);
|
udelay(1);
|
||||||
}
|
}
|
||||||
if (timeout == 0) {
|
if (timeout == 0) {
|
||||||
|
@ -172,7 +172,7 @@ static int aio_aio12_8_attach(struct comedi_device *dev,
|
||||||
|
|
||||||
iobase = it->options[0];
|
iobase = it->options[0];
|
||||||
if (!request_region(iobase, 24, "aio_aio12_8")) {
|
if (!request_region(iobase, 24, "aio_aio12_8")) {
|
||||||
printk("I/O port conflict");
|
printk(KERN_ERR "I/O port conflict");
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue