aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadu Voicilas2009-12-12 03:06:10 -0600
committerGreg Kroah-Hartman2010-03-07 19:04:46 -0600
commit20ef9f46a9abe3c25d9f2834f6cc86bfab46d609 (patch)
tree58c9fb671118798ee9fe43fb2cecd680060d9363 /samples/kobject
parenta115bc070b1fc57ab23f3972401425927b5b465c (diff)
downloadkernel-common-20ef9f46a9abe3c25d9f2834f6cc86bfab46d609.tar.gz
kernel-common-20ef9f46a9abe3c25d9f2834f6cc86bfab46d609.tar.xz
kernel-common-20ef9f46a9abe3c25d9f2834f6cc86bfab46d609.zip
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>
Diffstat (limited to 'samples/kobject')
-rw-r--r--samples/kobject/kset-example.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/kobject/kset-example.c b/samples/kobject/kset-example.c
index 45b7d56fb54..7c608814052 100644
--- a/samples/kobject/kset-example.c
+++ b/samples/kobject/kset-example.c
@@ -127,7 +127,7 @@ static struct foo_attribute foo_attribute =
127 __ATTR(foo, 0666, foo_show, foo_store); 127 __ATTR(foo, 0666, foo_show, foo_store);
128 128
129/* 129/*
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
131 * looking at the attribute for the "baz" and "bar" files. 131 * looking at the attribute for the "baz" and "bar" files.
132 */ 132 */
133static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr, 133static ssize_t b_show(struct foo_obj *foo_obj, struct foo_attribute *attr,
@@ -161,7 +161,7 @@ static struct foo_attribute bar_attribute =
161 __ATTR(bar, 0666, b_show, b_store); 161 __ATTR(bar, 0666, b_show, b_store);
162 162
163/* 163/*
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
165 * at once. 165 * at once.
166 */ 166 */
167static struct attribute *foo_default_attrs[] = { 167static struct attribute *foo_default_attrs[] = {