mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
staging: comedi: dmm32at: remove final attach noise and fix return value
The "success" message after an attach is just added noise. Remove it. The normal return value for "success" is 0. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
96a1f91ae2
commit
9b35db028f
@ -793,11 +793,7 @@ static int dmm32at_attach(struct comedi_device *dev,
|
||||
s->insn_bits = dmm32at_dio_insn_bits;
|
||||
s->insn_config = dmm32at_dio_insn_config;
|
||||
|
||||
/* success */
|
||||
printk(KERN_INFO "comedi%d: dmm32at: attached\n", dev->minor);
|
||||
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct comedi_driver dmm32at_driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user