Commit 880ae359 authored by Linus Walleij's avatar Linus Walleij Committed by Greg Kroah-Hartman

Documentation: fix spelling in design-patterns

This fixes two spelling mistakes in the design pattern doc.
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fbde7c61
...@@ -66,7 +66,7 @@ your interrupt handler. ...@@ -66,7 +66,7 @@ your interrupt handler.
2. container_of() 2. container_of()
~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
Continuing on the above example we add a offloaded work: Continuing on the above example we add an offloaded work:
struct foo { struct foo {
spinlock_t lock; spinlock_t lock;
...@@ -99,7 +99,7 @@ static int foo_probe(...) ...@@ -99,7 +99,7 @@ static int foo_probe(...)
(...) (...)
} }
The design pattern is the same for a a hrtimer or something similar that will The design pattern is the same for an hrtimer or something similar that will
return a single argument which is a pointer to a struct member in the return a single argument which is a pointer to a struct member in the
callback. callback.
......
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