diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-09-24 13:37:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 09:37:31 -0700 |
commit | f996ab29e9dd1ed607ea9ba708dff6fa4d253859 (patch) | |
tree | aa9724b9574a0e69ba42375b858b452b9eff7403 /drivers/staging | |
parent | b7eaf21a6709fb1dd1659dd0e56ce665375ba538 (diff) |
staging: comedi: s626: add final attach message
Add a simple dev_info() message after a successfull attach.
Change the final return to '0' to indicate success.
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/comedi/drivers/s626.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c index f4251acd9cc..07ff93b996c 100644 --- a/drivers/staging/comedi/drivers/s626.c +++ b/drivers/staging/comedi/drivers/s626.c @@ -2850,7 +2850,9 @@ static int s626_attach_pci(struct comedi_device *dev, struct pci_dev *pcidev) s626_initialize(dev); - return 1; + dev_info(dev->class_dev, "%s attached\n", dev->board_name); + + return 0; } static void s626_detach(struct comedi_device *dev) |