diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-12-12 09:27:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-19 13:10:32 -0500 |
commit | 880ae359173c229f5d5a44e08b529cffb102bbbc (patch) | |
tree | 74941595fcb303770ab034614d3e366337281896 /Documentation | |
parent | fbde7c6119f99a0e316ad1a8fe0788bd76d277b1 (diff) |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/driver-model/design-patterns.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/driver-model/design-patterns.txt b/Documentation/driver-model/design-patterns.txt index 9ef8c1684558..ba7b2df64904 100644 --- a/Documentation/driver-model/design-patterns.txt +++ b/Documentation/driver-model/design-patterns.txt | |||
@@ -66,7 +66,7 @@ your interrupt handler. | |||
66 | 2. container_of() | 66 | 2. container_of() |
67 | ~~~~~~~~~~~~~~~~~ | 67 | ~~~~~~~~~~~~~~~~~ |
68 | 68 | ||
69 | Continuing on the above example we add a offloaded work: | 69 | Continuing on the above example we add an offloaded work: |
70 | 70 | ||
71 | struct foo { | 71 | struct foo { |
72 | spinlock_t lock; | 72 | spinlock_t lock; |
@@ -99,7 +99,7 @@ static int foo_probe(...) | |||
99 | (...) | 99 | (...) |
100 | } | 100 | } |
101 | 101 | ||
102 | The design pattern is the same for a a hrtimer or something similar that will | 102 | The design pattern is the same for an hrtimer or something similar that will |
103 | return a single argument which is a pointer to a struct member in the | 103 | return a single argument which is a pointer to a struct member in the |
104 | callback. | 104 | callback. |
105 | 105 | ||