Skip to content

Commit b444dfc

Browse files
andy-shevjwrdegoede
authored andcommitted
devm-helpers: Fix a misspelled cancellation in the comments
Fix a misspelled cancellation in the comments. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240503173843.2922111-1-andriy.shevchenko@linux.intel.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent d9bab77 commit b444dfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/devm-helpers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ static inline void devm_delayed_work_drop(void *res)
4141
* detached. A few drivers need delayed work which must be cancelled before
4242
* driver is detached to avoid accessing removed resources.
4343
* devm_delayed_work_autocancel() can be used to omit the explicit
44-
* cancelleation when driver is detached.
44+
* cancellation when driver is detached.
4545
*/
4646
static inline int devm_delayed_work_autocancel(struct device *dev,
4747
struct delayed_work *w,
@@ -66,7 +66,7 @@ static inline void devm_work_drop(void *res)
6666
* A few drivers need to queue work which must be cancelled before driver
6767
* is detached to avoid accessing removed resources.
6868
* devm_work_autocancel() can be used to omit the explicit
69-
* cancelleation when driver is detached.
69+
* cancellation when driver is detached.
7070
*/
7171
static inline int devm_work_autocancel(struct device *dev,
7272
struct work_struct *w,

0 commit comments

Comments
 (0)