1
0
Fork 0

Documentation: fix spelling in design-patterns

This fixes two spelling mistakes in the design pattern doc.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Linus Walleij 2013-12-12 15:27:12 +01:00 committed by Greg Kroah-Hartman
parent fbde7c6119
commit 880ae35917
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ your interrupt handler.
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 {
spinlock_t lock;
@ -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
callback.