projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b6f35
)
[PATCH] Driver core: Documentation: update device attribute callbacks
author
Yani Ioannou
<yani.ioannou@gmail.com>
Tue, 17 May 2005 10:40:28 +0000
(06:40 -0400)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 20 Jun 2005 22:15:32 +0000
(15:15 -0700)
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/filesystems/sysfs.txt
patch
|
blob
|
history
diff --git
a/Documentation/filesystems/sysfs.txt
b/Documentation/filesystems/sysfs.txt
index 60f6c2c4d477968e2966eb152183fe1c71bc689b..dc276598a65a3784c4dd7d41470c41f288db9529 100644
(file)
--- a/
Documentation/filesystems/sysfs.txt
+++ b/
Documentation/filesystems/sysfs.txt
@@
-214,7
+214,7
@@
Other notes:
A very simple (and naive) implementation of a device attribute is:
-static ssize_t show_name(struct device *
dev, char *
buf)
+static ssize_t show_name(struct device *
dev, struct device_attribute *attr, char *
buf)
{
return sprintf(buf,"%s\n",dev->name);
}