clk: Fix one kernel-doc comment
Subsystems (2)
PATCH v2 1/1 clk: Fix one kernel-doc comment
drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype for sunxi_ccu_set_mmc_timing_mode(). Prototype was for sunxi_ccu_get_mmc_timing_mode() instead
---
change in v2:
--According to Randy's suggestion, use the '-' replace ':' to separate function name and description.
drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/sunxi-ng/ccu_mmc_timing.c +1 -1
@@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode)EXPORT_SYMBOL_GPL (sunxi_ccu_set_mmc_timing_mode);/** -* sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode +* sunxi_ccu_get_mmc_timing_mode - Get the current MMC clock timing mode * @clk: clock to query * * Returns 0 if the clock is in old timing mode, > 0 if it is in
Signature · 1 line
2.20.1.7.g153144c
Hi--
Quoted 5 lines · Yang Li
drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype forsunxi_ccu_set_mmc_timing_mode(). Prototype was forsunxi_ccu_get_mmc_timing_mode()insteadReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
This looks good, although this file needs more work in a few places.
Thanks.
Quoted 21 lines
---
change in v2:
--According to Randy's suggestion, use the '-' replace ':' to separate function name and description.drivers/clk/sunxi-ng/ccu_mmc_timing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/sunxi-ng/ccu_mmc_timing.c +1
-1@@ -43,7 +43,7 @@ int sunxi_ccu_set_mmc_timing_mode(struct clk *clk, bool new_mode)EXPORT_SYMBOL_GPL (sunxi_ccu_set_mmc_timing_mode);/** -* sunxi_ccu_set_mmc_timing_mode: Get the current MMC clock timing mode +* sunxi_ccu_get_mmc_timing_mode - Get the current MMC clock timing mode * @clk: clock to query * * Returns 0 if the clock is in old timing mode, > 0 if it is in
Signature · 1 line
~Randy
Quoting Yang Li (2022-11-21 18:38:26)
Quoted 6 lines
drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype forsunxi_ccu_set_mmc_timing_mode(). Prototype was forsunxi_ccu_get_mmc_timing_mode()insteadReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>---