aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2021-11-20 11:45:31 +0530
committerVinod Koul <vkoul@kernel.org>2021-11-23 10:38:24 +0530
commit7947113fd07a372de813edddfce6cb0a38ab66e0 (patch)
tree7d766185a257cc20f339dc30e6ecde7363c7e1fe /drivers/phy
parentphy: qualcomm: ipq806x-usb: Fix kernel-doc style (diff)
downloadlinux-dev-7947113fd07a372de813edddfce6cb0a38ab66e0.tar.xz
linux-dev-7947113fd07a372de813edddfce6cb0a38ab66e0.zip
phy: ti: omap-usb2: Fix the kernel-doc style
The documentation 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> Reviewed-by: Liam Beguin <liambeguin@gmail.com> Link: https://lore.kernel.org/r/20211120061531.410771-2-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy')
-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 ebceb1520ce8..3a505fe5715a 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.