staging: comedi: serial2002: remove attach dev_dbg() noise
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 5 Apr 2013 23:10:42 +0000 (16:10 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Apr 2013 17:27:44 +0000 (10:27 -0700)
This is just added noise. Remove 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>
drivers/staging/comedi/drivers/serial2002.c

index 67600da..d367cfb 100644 (file)
@@ -744,7 +744,6 @@ static int serial2002_attach(struct comedi_device *dev,
        struct comedi_subdevice *s;
        int ret;
 
-       dev_dbg(dev->class_dev, "serial2002: attach\n");
        dev->board_name = dev->driver->driver_name;
 
        devpriv = kzalloc(sizeof(*devpriv), GFP_KERNEL);
@@ -756,8 +755,6 @@ static int serial2002_attach(struct comedi_device *dev,
        dev->close = serial_2002_close;
        devpriv->port = it->options[0];
        devpriv->speed = it->options[1];
-       dev_dbg(dev->class_dev, "/dev/ttyS%d @ %d\n", devpriv->port,
-               devpriv->speed);
 
        ret = comedi_alloc_subdevices(dev, 5);
        if (ret)