Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f996ab29 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b7eaf21a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)