Commit b444dfc8 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Hans de Goede

devm-helpers: Fix a misspelled cancellation in the comments

Fix a misspelled cancellation in the comments.
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240503173843.2922111-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent d9bab776
...@@ -41,7 +41,7 @@ static inline void devm_delayed_work_drop(void *res) ...@@ -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 * detached. A few drivers need delayed work which must be cancelled before
* driver is detached to avoid accessing removed resources. * driver is detached to avoid accessing removed resources.
* devm_delayed_work_autocancel() can be used to omit the explicit * 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, static inline int devm_delayed_work_autocancel(struct device *dev,
struct delayed_work *w, struct delayed_work *w,
...@@ -66,7 +66,7 @@ static inline void devm_work_drop(void *res) ...@@ -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 * A few drivers need to queue work which must be cancelled before driver
* is detached to avoid accessing removed resources. * is detached to avoid accessing removed resources.
* devm_work_autocancel() can be used to omit the explicit * 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, static inline int devm_work_autocancel(struct device *dev,
struct work_struct *w, struct work_struct *w,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment