aboutsummaryrefslogtreecommitdiffstats
path: root/samples/kobject
diff options
context:
space:
mode:
authorRadu Voicilas <rvoicilas@gmail.com>2009-12-12 04:06:09 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-07 20:04:46 -0500
commita115bc070b1fc57ab23f3972401425927b5b465c (patch)
treea87e88e721f50599c66e627c86848e4b086e9db0 /samples/kobject
parent77d3d7c1d561f49f755d7390f0764dff90765974 (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/kobject')
-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 =
44 __ATTR(foo, 0666, foo_show, foo_store); 44 __ATTR(foo, 0666, foo_show, foo_store);
45 45
46/* 46/*
47 * More complex function where we determine which varible is being accessed by 47 * More complex function where we determine which variable is being accessed by
48 * looking at the attribute for the "baz" and "bar" files. 48 * looking at the attribute for the "baz" and "bar" files.
49 */ 49 */
50static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr, 50static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr,
@@ -79,7 +79,7 @@ static struct kobj_attribute bar_attribute =
79 79
80 80
81/* 81/*
82 * Create a group of attributes so that we can create and destory them all 82 * Create a group of attributes so that we can create and destroy them all
83 * at once. 83 * at once.
84 */ 84 */
85static struct attribute *attrs[] = { 85static struct attribute *attrs[] = {