Commit ee68d168 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_atmio: remove printk noise in ni_isapnp_find_board()

The printk() messages in this function a just added noise. Remove them.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d3e5ab5
...@@ -253,20 +253,17 @@ static int ni_isapnp_find_board(struct pnp_dev **dev) ...@@ -253,20 +253,17 @@ static int ni_isapnp_find_board(struct pnp_dev **dev)
if (isapnp_dev == NULL || isapnp_dev->card == NULL) if (isapnp_dev == NULL || isapnp_dev->card == NULL)
continue; continue;
if (pnp_device_attach(isapnp_dev) < 0) { if (pnp_device_attach(isapnp_dev) < 0)
printk
("ni_atmio: %s found but already active, skipping.\n",
ni_boards[i].name);
continue; continue;
}
if (pnp_activate_dev(isapnp_dev) < 0) { if (pnp_activate_dev(isapnp_dev) < 0) {
pnp_device_detach(isapnp_dev); pnp_device_detach(isapnp_dev);
return -EAGAIN; return -EAGAIN;
} }
if (!pnp_port_valid(isapnp_dev, 0)
|| !pnp_irq_valid(isapnp_dev, 0)) { if (!pnp_port_valid(isapnp_dev, 0) ||
!pnp_irq_valid(isapnp_dev, 0)) {
pnp_device_detach(isapnp_dev); pnp_device_detach(isapnp_dev);
printk("ni_atmio: pnp invalid port or irq, aborting\n");
return -ENOMEM; return -ENOMEM;
} }
break; break;
......
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