mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
77d3d7c1d5
commit
a115bc070b
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ static struct kobj_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 kobject *kobj, struct kobj_attribute *attr,
|
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.
|
* at once.
|
||||||
*/
|
*/
|
||||||
static struct attribute *attrs[] = {
|
static struct attribute *attrs[] = {
|
||||||
|
|
Loading…
Reference in a new issue