Commit 20ef9f46a9abe3c25d9f2834f6cc86bfab46d609
Committed by
Greg Kroah-Hartman
1 parent
a115bc070b
Exists in
master
and in
4 other branches
kset-example: Spelling fixes.
No change in functionality. Signed-off-by: Radu Voicilas <rvoicilas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
samples/kobject/kset-example.c
... | ... | @@ -127,7 +127,7 @@ |
127 | 127 | __ATTR(foo, 0666, foo_show, foo_store); |
128 | 128 | |
129 | 129 | /* |
130 | - * More complex function where we determine which varible is being accessed by | |
130 | + * More complex function where we determine which variable is being accessed by | |
131 | 131 | * looking at the attribute for the "baz" and "bar" files. |
132 | 132 | */ |
133 | 133 | static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, |
... | ... | @@ -161,7 +161,7 @@ |
161 | 161 | __ATTR(bar, 0666, b_show, b_store); |
162 | 162 | |
163 | 163 | /* |
164 | - * Create a group of attributes so that we can create and destory them all | |
164 | + * Create a group of attributes so that we can create and destroy them all | |
165 | 165 | * at once. |
166 | 166 | */ |
167 | 167 | static struct attribute *foo_default_attrs[] = { |