@@ -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;
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@bootlin.com> --- drivers/clk/clk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)