Skip to contentSkip to conversation

devm-helpers: Fix a misspelled cancellation in the comments

PATCH In review Andy Shevchenko 2 participants 2 messages May 3, 2024 – May 13, 2024 Device resource management helpers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devm-helpers: Fix a misspelled cancellation in the comments

Fix a misspelled cancellation in the comments.

---
 include/linux/devm-helpers.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/devm-helpers.h +2 -2
index 74891802200d..708ca9131402 100644
@@ -41,7 +41,7 @@ static inline void devm_delayed_work_drop(void *res)
  * detached. A few drivers need delayed work which must be cancelled before
  * driver is detached to avoid accessing removed resources.
  * devm_delayed_work_autocancel() can be used to omit the explicit
- * cancelleation when driver is detached.
+ * cancellation when driver is detached.
  */
 static inline int devm_delayed_work_autocancel(struct device *dev,
 					       struct delayed_work *w,
@@ -66,7 +66,7 @@ static inline void devm_work_drop(void *res)
  * A few drivers need to queue work which must be cancelled before driver
  * is detached to avoid accessing removed resources.
  * devm_work_autocancel() can be used to omit the explicit
- * cancelleation when driver is detached.
+ * cancellation when driver is detached.
  */
 static inline int devm_work_autocancel(struct device *dev,
 				       struct work_struct *w,
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
#1 lore raw

Hi,

Quoted 3 lines · Andy Shevchenko

Fix a misspelled cancellation in the comments.

Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.

Regards,

Hans

Quoted 26 lines
---
 include/linux/devm-helpers.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/devm-helpers.h +2 -2
index 74891802200d..708ca9131402 100644
@@ -41,7 +41,7 @@ static inline void devm_delayed_work_drop(void *res)
  * detached. A few drivers need delayed work which must be cancelled before
  * driver is detached to avoid accessing removed resources.
  * devm_delayed_work_autocancel() can be used to omit the explicit
- * cancelleation when driver is detached.
+ * cancellation when driver is detached.
  */
 static inline int devm_delayed_work_autocancel(struct device *dev,
 					       struct delayed_work *w,
@@ -66,7 +66,7 @@ static inline void devm_work_drop(void *res)
  * A few drivers need to queue work which must be cancelled before driver
  * is detached to avoid accessing removed resources.
  * devm_work_autocancel() can be used to omit the explicit
- * cancelleation when driver is detached.
+ * cancellation when driver is detached.
  */
 static inline int devm_work_autocancel(struct device *dev,
 				       struct work_struct *w,