Commit 20ef9f46 authored by Radu Voicilas's avatar Radu Voicilas Committed by Greg Kroah-Hartman

kset-example: Spelling fixes.

No change in functionality.
Signed-off-by: default avatarRadu Voicilas <rvoicilas@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a115bc07
...@@ -127,7 +127,7 @@ static struct foo_attribute foo_attribute = ...@@ -127,7 +127,7 @@ static struct foo_attribute foo_attribute =
__ATTR(foo, 0666, foo_show, foo_store); __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. * looking at the attribute for the "baz" and "bar" files.
*/ */
static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr,
...@@ -161,7 +161,7 @@ static struct foo_attribute bar_attribute = ...@@ -161,7 +161,7 @@ static struct foo_attribute bar_attribute =
__ATTR(bar, 0666, b_show, b_store); __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. * at once.
*/ */
static struct attribute *foo_default_attrs[] = { static struct attribute *foo_default_attrs[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment