Commit 615d5b6c authored by Benjamin Adolphi's avatar Benjamin Adolphi Committed by Greg Kroah-Hartman

Staging: comedi: pcl730: Checkpatch cleanups

This fixes all checkpatch issues in the pcl730 comedi driver.
Signed-off-by: default avatarBenjamin Adolphi <b.adolphi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent acb60e91
...@@ -99,7 +99,7 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -99,7 +99,7 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it)
iobase = it->options[0]; iobase = it->options[0];
iorange = this_board->io_range; iorange = this_board->io_range;
printk("comedi%d: pcl730: board=%s 0x%04lx ", dev->minor, printk(KERN_INFO "comedi%d: pcl730: board=%s 0x%04lx ", dev->minor,
this_board->name, iobase); this_board->name, iobase);
if (!request_region(iobase, iorange, "pcl730")) { if (!request_region(iobase, iorange, "pcl730")) {
printk("I/O port conflict\n"); printk("I/O port conflict\n");
...@@ -152,14 +152,14 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it) ...@@ -152,14 +152,14 @@ static int pcl730_attach(struct comedi_device *dev, struct comedi_devconfig *it)
s->range_table = &range_digital; s->range_table = &range_digital;
s->private = (void *)PCL730_DIO_LO; s->private = (void *)PCL730_DIO_LO;
printk("\n"); printk(KERN_INFO "\n");
return 0; return 0;
} }
static int pcl730_detach(struct comedi_device *dev) static int pcl730_detach(struct comedi_device *dev)
{ {
printk("comedi%d: pcl730: remove\n", dev->minor); printk(KERN_INFO "comedi%d: pcl730: remove\n", dev->minor);
if (dev->iobase) if (dev->iobase)
release_region(dev->iobase, this_board->io_range); release_region(dev->iobase, this_board->io_range);
......
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