summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2012-09-11 01:59:21 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-11 03:05:55 (GMT)
commit034f8734599d87648b50195978f5f871301d2867 (patch)
tree114407b60888156d3f1af1a3a2fb58294451df07 /drivers
parent02baee8cd8a0465d33231c4ee01f0a572bd1e0ae (diff)
downloadlinux-034f8734599d87648b50195978f5f871301d2867.tar.xz
staging: comedi: adl_pci9111: remove the board attach noise
Remove the kernel messages about the io base/range for the pci resources. Move the board attach messages to the end of the attach and use a simple/clean dev_info message for it. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/comedi/drivers/adl_pci9111.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c
index 38faa466..f30bcb7 100644
--- a/drivers/staging/comedi/drivers/adl_pci9111.c
+++ b/drivers/staging/comedi/drivers/adl_pci9111.c
@@ -1098,10 +1098,6 @@ static int pci9111_attach(struct comedi_device *dev,
dev_private = dev->private;
/* Probe the device to determine what device in the series it is. */
-
- printk(KERN_ERR "comedi%d: " PCI9111_DRIVER_NAME " driver\n",
- dev->minor);
-
pcidev = pci9111_find_pci(dev, it);
if (!pcidev)
return -EIO;
@@ -1116,10 +1112,6 @@ static int pci9111_attach(struct comedi_device *dev,
lcr_io_base = pci_resource_start(pcidev, 1);
lcr_io_range = pci_resource_len(pcidev, 1);
- printk
- ("comedi%d: local configuration registers at address 0x%4lx [0x%4lx]\n",
- dev->minor, lcr_io_base, lcr_io_range);
-
/* Enable PCI device and request regions */
if (comedi_pci_enable(pcidev, PCI9111_DRIVER_NAME) < 0) {
printk
@@ -1132,9 +1124,6 @@ static int pci9111_attach(struct comedi_device *dev,
io_base = pci_resource_start(pcidev, 2);
io_range = pci_resource_len(pcidev, 2);
- printk(KERN_ERR "comedi%d: 6503 registers at address 0x%4lx [0x%4lx]\n",
- dev->minor, io_base, io_range);
-
dev->iobase = io_base;
dev->board_name = board->name;
dev_private->io_range = io_range;
@@ -1207,6 +1196,8 @@ static int pci9111_attach(struct comedi_device *dev,
dev_private->is_valid = 1;
+ dev_info(dev->class_dev, "%s attached\n", dev->board_name);
+
return 0;
}