Skip to content

Commit a115bc0

Browse files
raduvoicilasgregkh
authored andcommitted
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>
1 parent 77d3d7c commit a115bc0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎samples/kobject/kobject-example.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static struct kobj_attribute foo_attribute =
4444
__ATTR(foo, 0666, foo_show, foo_store);
4545

4646
/*
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
4848
* looking at the attribute for the "baz" and "bar" files.
4949
*/
5050
static ssize_t b_show(struct kobject *kobj, struct kobj_attribute *attr,
@@ -79,7 +79,7 @@ static struct kobj_attribute bar_attribute =
7979

8080

8181
/*
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
8383
* at once.
8484
*/
8585
static struct attribute *attrs[] = {

0 commit comments

Comments
 (0)