]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
usb: host: ehci-xilinx: Resolve kernel-doc Warnings
authorManish Narani <manish.narani@xilinx.com>
Wed, 26 Apr 2017 08:08:05 +0000 (13:38 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 20 Jun 2017 12:13:26 +0000 (14:13 +0200)
This patch resolves kernel-doc warnings for Xilinx EHCI driver.

Signed-off-by: Manish Narani <mnarani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/host/ehci-xilinx-of.c

index 2b351a8a6a0974604015479dcd9dd40f85c95723..bffc25f5267496a8c824e9fb07fc9fefd7831d01 100644 (file)
@@ -46,6 +46,8 @@
  * There are cases when the host controller fails to enable the port due to,
  * for example, insufficient power that can be supplied to the device from
  * the USB bus. In those cases, the messages printed here are not helpful.
+ *
+ * Return: Always return 0
  */
 static int ehci_xilinx_port_handed_over(struct usb_hcd *hcd, int portnum)
 {
@@ -124,6 +126,8 @@ static const struct hc_driver ehci_xilinx_of_hc_driver = {
  * host controller. Because the Xilinx USB host controller can be configured
  * as HS only or HS/FS only, it checks the configuration in the device tree
  * entry, and sets an appropriate value for hcd->has_tt.
+ *
+ * Return: zero on success, 'rv' value on failure
  */
 static int ehci_hcd_xilinx_of_probe(struct platform_device *op)
 {
@@ -208,6 +212,8 @@ err_irq:
  *
  * Remove the hcd structure, and release resources that has been requested
  * during probe.
+ *
+ * Return: Always return 0
  */
 static int ehci_hcd_xilinx_of_remove(struct platform_device *op)
 {