staging: comedi: dt3000: add a simple dev_info() when attached
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 26 Oct 2012 00:26:10 +0000 (17:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Oct 2012 16:18:17 +0000 (09:18 -0700)
When the board is finished with the attach output a simple dev_info()
message.

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/dt3000.c

index be65a1ccfc98a4abfed4b8ffe30d1b631c2dace1..e29049e45b5e27152ec7d7286dc858ca949d3482 100644 (file)
@@ -868,6 +868,8 @@ static int dt3000_attach_pci(struct comedi_device *dev,
        s->type = COMEDI_SUBD_PROC;
 #endif
 
+       dev_info(dev->class_dev, "%s attached\n", dev->board_name);
+
        return 0;
 }