Skip to content

Commit 20ef9f4

Browse files
raduvoicilasgregkh
authored andcommitted
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>
1 parent a115bc0 commit 20ef9f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎samples/kobject/kset-example.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static struct foo_attribute foo_attribute =
127127
__ATTR(foo, 0666, foo_show, foo_store);
128128

129129
/*
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
131131
* looking at the attribute for the "baz" and "bar" files.
132132
*/
133133
static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr,
@@ -161,7 +161,7 @@ static struct foo_attribute bar_attribute =
161161
__ATTR(bar, 0666, b_show, b_store);
162162

163163
/*
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
165165
* at once.
166166
*/
167167
static struct attribute *foo_default_attrs[] = {

0 commit comments

Comments
 (0)