summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorRadu Voicilas <rvoicilas@gmail.com>2009-12-12 01:06:09 -0800
committerStephen Rothwell <sfr@canb.auug.org.au>2009-12-24 12:37:03 +1100
commitd0352f87c14e33f94efae92223b0eb5143738eb6 (patch)
tree18063258108f7c88276e8261401a5a779ea07a00 /samples
parent477fec79c5b59cdf6f0231206142ef889392cb00 (diff)
kobject-example: Spelling fixes.
No change in functionality. Signed-off-by: Radu Voicilas <rvoicilas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples')
-rw-r--r--samples/kobject/kobject-example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/kobject/kobject-example.c b/samples/kobject/kobject-example.c
index 8d9b55a12023..86ea0c3ad975 100644
--- a/samples/kobject/kobject-example.c
+++ b/samples/kobject/kobject-example.c
@@ -44,7 +44,7 @@ static struct kobj_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 kobject *kobj, struct kobj_attribute *attr,
@@ -79,7 +79,7 @@ static struct kobj_attribute bar_attribute =
/*
- * 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 *attrs[] = {