Commit 0dfd69bf authored by Bruce Jones's avatar Bruce Jones Committed by Greg Kroah-Hartman
Browse files

Staging: comedi: acl7225b.c: CodingStyle printk fixups



Clean up the printk's in this driver.

Signed-off-by: default avatarBruce Jones <brucej@linux.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2829db3e
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -94,10 +94,11 @@ static int acl7225b_attach(struct comedi_device *dev,

	iobase = it->options[0];
	iorange = this_board->io_range;
	printk("comedi%d: acl7225b: board=%s 0x%04x ", dev->minor,
	printk(KERN_INFO "comedi%d: acl7225b: board=%s 0x%04x\n", dev->minor,
	       this_board->name, iobase);
	if (!request_region(iobase, iorange, "acl7225b")) {
		printk("I/O port conflict\n");
		printk(KERN_ERR "comedi%d: request_region failed - I/O port conflict\n",
			dev->minor);
		return -EIO;
	}
	dev->board_name = this_board->name;
@@ -137,14 +138,12 @@ static int acl7225b_attach(struct comedi_device *dev,
	s->range_table = &range_digital;
	s->private = (void *)ACL7225_DI_LO;

	printk("\n");

	return 0;
}

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

	if (dev->iobase)
		release_region(dev->iobase, this_board->io_range);