aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2021-11-16 15:51:30 +0530
committerVinod Koul <vkoul@kernel.org>2021-11-20 11:41:20 +0530
commit826eceb48f2e03b12500ae64804786837c889104 (patch)
tree7d766185a257cc20f339dc30e6ecde7363c7e1fe
parent90e05ae33dd508a12495d1803f7da000fa4b6f42 (diff)
downloadlinux-phy-topic/warns.tar.gz
phy: ti: omap-usb2: Fix the kernel-doc styletopic/warns
The documentaion uses incorrect style, so fix that. drivers/phy/ti/phy-omap-usb2.c:102: warning: Function parameter or member 'comparator' not described in 'omap_usb2_set_comparator' While at it, use a single line for function description Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/phy/ti/phy-omap-usb2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/phy/ti/phy-omap-usb2.c b/drivers/phy/ti/phy-omap-usb2.c
index ebceb1520ce88a..3a505fe5715add 100644
--- a/drivers/phy/ti/phy-omap-usb2.c
+++ b/drivers/phy/ti/phy-omap-usb2.c
@@ -89,9 +89,9 @@ static inline void omap_usb_writel(void __iomem *addr, unsigned int offset,
}
/**
- * omap_usb2_set_comparator - links the comparator present in the system with
- * this phy
- * @comparator - the companion phy(comparator) for this phy
+ * omap_usb2_set_comparator() - links the comparator present in the system with this phy
+ *
+ * @comparator: the companion phy(comparator) for this phy
*
* The phy companion driver should call this API passing the phy_companion
* filled with set_vbus and start_srp to be used by usb phy.