Skip to content

Commit

Permalink
Documentation: fix spelling in design-patterns
Browse files Browse the repository at this point in the history
This fixes two spelling mistakes in the design pattern doc.

Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
linusw authored and gregkh committed Dec 19, 2013
1 parent fbde7c6 commit 880ae35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/driver-model/design-patterns.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 880ae35

Please sign in to comment.