Skip to content

Commit

Permalink
staging: comedi: dt3000: add a simple dev_info() when attached
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Oct 26, 2012
1 parent ecab2ef commit c3ebe8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/comedi/drivers/dt3000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit c3ebe8f

Please sign in to comment.