staging: comedi: comedi_pci.c: Fix kernel-doc Return tags

Fix the 'Return' tags in the kernel-doc comments as they currently say
'Returns', which is not recognized by kernel-doc.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ian Abbott 2015-09-30 16:43:55 +01:00 committed by Greg Kroah-Hartman
parent a56d092aa9
commit ea1ea69513
1 changed files with 5 additions and 5 deletions

View File

@ -28,8 +28,8 @@
* Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
* a &struct device embedded in a &struct pci_dev. * a &struct device embedded in a &struct pci_dev.
* *
* Returns: Attached PCI device if @dev->hw_dev is non-%NULL. * Return: Attached PCI device if @dev->hw_dev is non-%NULL.
* Returns %NULL if @dev->hw_dev is %NULL. * Return %NULL if @dev->hw_dev is %NULL.
*/ */
struct pci_dev *comedi_to_pci_dev(struct comedi_device *dev) struct pci_dev *comedi_to_pci_dev(struct comedi_device *dev)
{ {
@ -48,7 +48,7 @@ EXPORT_SYMBOL_GPL(comedi_to_pci_dev);
* *
* Calls to comedi_pci_enable() and comedi_pci_disable() cannot be nested. * Calls to comedi_pci_enable() and comedi_pci_disable() cannot be nested.
* *
* Returns: * Return:
* 0 on success, * 0 on success,
* -%ENODEV if @dev->hw_dev is %NULL, * -%ENODEV if @dev->hw_dev is %NULL,
* -%EBUSY if regions busy, * -%EBUSY if regions busy,
@ -143,7 +143,7 @@ EXPORT_SYMBOL_GPL(comedi_pci_detach);
* "auto_attach" handler. The "auto_attach" handler may call * "auto_attach" handler. The "auto_attach" handler may call
* comedi_to_pci_dev() on the passed in COMEDI device to recover @pcidev. * comedi_to_pci_dev() on the passed in COMEDI device to recover @pcidev.
* *
* Returns: The result of calling comedi_auto_config() (0 on success, or * Return: The result of calling comedi_auto_config() (0 on success, or
* a negative error number on failure). * a negative error number on failure).
*/ */
int comedi_pci_auto_config(struct pci_dev *pcidev, int comedi_pci_auto_config(struct pci_dev *pcidev,
@ -183,7 +183,7 @@ EXPORT_SYMBOL_GPL(comedi_pci_auto_unconfig);
* to register the COMEDI driver and the PCI driver. Do not call it directly, * to register the COMEDI driver and the PCI driver. Do not call it directly,
* use the module_comedi_pci_driver() helper macro instead. * use the module_comedi_pci_driver() helper macro instead.
* *
* Returns: 0 on success, or a negative error number on failure. * Return: 0 on success, or a negative error number on failure.
*/ */
int comedi_pci_driver_register(struct comedi_driver *comedi_driver, int comedi_pci_driver_register(struct comedi_driver *comedi_driver,
struct pci_driver *pci_driver) struct pci_driver *pci_driver)