[PATCH RFC 02/10] clk: Improve comments with usual punctuation
From: Miquel Raynal
Date: Wed Mar 26 2025 - 14:26:58 EST
These two-line comments did not meant anything to me until I figured out
they were two separated sentences. Clarify these comments.
Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
---
drivers/clk/clk.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index cf7720b9172ff223d86227aad144e15375ddfd86..7df9965bcbdffd641e6dbf5bff3d3b20079a3af3 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -289,8 +289,8 @@ static bool clk_core_is_prepared(struct clk_core *core)
bool ret = false;
/*
- * .is_prepared is optional for clocks that can prepare
- * fall back to software usage counter if it is missing
+ * .is_prepared is optional for clocks that can prepare.
+ * Fall back to software usage counter if it is missing.
*/
if (!core->ops->is_prepared)
return core->prepare_count;
@@ -308,8 +308,8 @@ static bool clk_core_is_enabled(struct clk_core *core)
bool ret = false;
/*
- * .is_enabled is only mandatory for clocks that gate
- * fall back to software usage counter if .is_enabled is missing
+ * .is_enabled is only mandatory for clocks that gate.
+ * Fall back to software usage counter if .is_enabled is missing
*/
if (!core->ops->is_enabled)
return core->enable_count;
--
2.48.1