Skip to content

Commit

Permalink
Staging: comedi: pcm3730: Checkpatch cleanups
Browse files Browse the repository at this point in the history
This fixes all checkpatch issues in the pcm3730 comedi driver.

Signed-off-by: Benjamin Adolphi <b.adolphi@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Benjamin Adolphi authored and Greg Kroah-Hartman committed Mar 4, 2010
1 parent 50ae2a5 commit b1e68ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/comedi/drivers/pcm3730.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static int pcm3730_attach(struct comedi_device *dev,
unsigned long iobase;

iobase = it->options[0];
printk("comedi%d: pcm3730: 0x%04lx ", dev->minor, iobase);
printk(KERN_INFO "comedi%d: pcm3730: 0x%04lx ", dev->minor, iobase);
if (!request_region(iobase, PCM3730_SIZE, "pcm3730")) {
printk("I/O port conflict\n");
return -EIO;
Expand Down Expand Up @@ -140,14 +140,14 @@ static int pcm3730_attach(struct comedi_device *dev,
s->range_table = &range_digital;
s->private = (void *)PCM3730_DIC;

printk("\n");
printk(KERN_INFO "\n");

return 0;
}

static int pcm3730_detach(struct comedi_device *dev)
{
printk("comedi%d: pcm3730: remove\n", dev->minor);
printk(KERN_INFO "comedi%d: pcm3730: remove\n", dev->minor);

if (dev->iobase)
release_region(dev->iobase, PCM3730_SIZE);
Expand Down

0 comments on commit b1e68ea

Please sign in to comment.