Skip to contentSkip to conversation

treewide: Fix typos in comments

PATCH In review Chhabilal Dangal 2 participants 2 messages Aug 24

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 treewide: Fix typos in comments

---
 arch/arm/kernel/cpuidle.c      | 2 +-
 drivers/base/power/clock_ops.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/kernel/cpuidle.c +1 -1
index fba1f8bb0..784457ac7 100644
@@ -79,7 +79,7 @@ static const struct cpuidle_ops *__init arm_cpuidle_get_ops(const char *method)
  * cpuidle_ops are tagged __initconst and will be unloaded after the init
  * process.
  *
- * Return 0 on sucess, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
+ * Return 0 on success, -ENOENT if no 'enable-method' is defined, -EOPNOTSUPP if
  * no cpuidle_ops is registered for the 'enable-method', or if either init or
  * suspend callback isn't defined.
  */
drivers/base/power/clock_ops.c +1 -1
index 59bb37e82..3b8ba2780 100644
@@ -250,7 +250,7 @@ EXPORT_SYMBOL_GPL(pm_clk_add);
  *
  * Add the clock to the list of clocks used for the power management of @dev.
  * The power-management code will take control of the clock reference, so
- * callers should not call clk_put() on @clk after this function sucessfully
+ * callers should not call clk_put() on @clk after this function successfully
  * returned.
  */
 int pm_clk_add_clk(struct device *dev, struct clk *clk)
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 5 lines · Chhabilal Dangal
---
 arch/arm/kernel/cpuidle.c      | 2 +-
 drivers/base/power/clock_ops.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Please break patches up into one-per-subsystem, and provide a valid changelog text.

thanks,

greg k-h