From: Linus Walleij Date: Thu, 12 Dec 2013 14:27:12 +0000 (+0100) Subject: Documentation: fix spelling in design-patterns X-Git-Tag: upstream/snapshot3+hdmi~3629^2~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=880ae359173c229f5d5a44e08b529cffb102bbbc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Documentation: fix spelling in design-patterns This fixes two spelling mistakes in the design pattern doc. Reported-by: Randy Dunlap Signed-off-by: Linus Walleij Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/driver-model/design-patterns.txt b/Documentation/driver-model/design-patterns.txt index 9ef8c16..ba7b2df 100644 --- a/Documentation/driver-model/design-patterns.txt +++ b/Documentation/driver-model/design-patterns.txt @@ -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.