summaryrefslogtreecommitdiffstats
path: root/fs/sysfs
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2005-06-24 07:05:21 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:06:40 +0200
commit3d41088fa327782b14b5659dbcfff62ec704c23c (patch)
treebd9a25f9ae7a0e232c9d5006849905e31a9dbc92 /fs/sysfs
parent[PATCH] DocBook: only use tabular style for long synopsis (diff)
downloadlinux-3d41088fa327782b14b5659dbcfff62ec704c23c.tar.xz
linux-3d41088fa327782b14b5659dbcfff62ec704c23c.zip
[PATCH] DocBook: update comments
This patch updates some comments to match code changes. Signed-off-by: Martin Waitz <tali@admingilde.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/sysfs')
-rw-r--r--fs/sysfs/file.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c
index e9cfa39f4099..d72c1ce48559 100644
--- a/fs/sysfs/file.c
+++ b/fs/sysfs/file.c
@@ -14,7 +14,7 @@
#define to_subsys(k) container_of(k,struct subsystem,kset.kobj)
#define to_sattr(a) container_of(a,struct subsys_attribute,attr)
-/**
+/*
* Subsystem file operations.
* These operations allow subsystems to have files that can be
* read/written.
@@ -192,8 +192,9 @@ fill_write_buffer(struct sysfs_buffer * buffer, const char __user * buf, size_t
/**
* flush_write_buffer - push buffer to kobject.
- * @file: file pointer.
+ * @dentry: dentry to the attribute
* @buffer: data buffer for file.
+ * @count: number of bytes
*
* Get the correct pointers for the kobject and the attribute we're
* dealing with, then call the store() method for the attribute,