Skip to content

Commit

Permalink
kset-example: Spelling fixes.
Browse files Browse the repository at this point in the history
No change in functionality.

Signed-off-by: Radu Voicilas <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
raduvoicilas authored and gregkh committed Mar 8, 2010
1 parent a115bc0 commit 20ef9f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/kobject/kset-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static struct foo_attribute foo_attribute =
__ATTR(foo, 0666, foo_show, foo_store);

/*
* More complex function where we determine which varible is being accessed by
* More complex function where we determine which variable is being accessed by
* looking at the attribute for the "baz" and "bar" files.
*/
static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr,
Expand Down Expand Up @@ -161,7 +161,7 @@ static struct foo_attribute bar_attribute =
__ATTR(bar, 0666, b_show, b_store);

/*
* Create a group of attributes so that we can create and destory them all
* Create a group of attributes so that we can create and destroy them all
* at once.
*/
static struct attribute *foo_default_attrs[] = {
Expand Down

0 comments on commit 20ef9f4

Please sign in to comment.