aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorMartin Waitz <tali@admingilde.org>2005-05-01 11:59:26 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 11:59:26 -0400
commit67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e (patch)
tree317d114a0288d3b19ef9902f94b536a5a8731dbd /lib/kobject.c
parent6013d5445f9a6d0b28090027868f455c5012d1cc (diff)
[PATCH] DocBook: fix some descriptions
Some KernelDoc descriptions are updated to match the current code. No 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 'lib/kobject.c')
-rw-r--r--lib/kobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index 5df8441c44e7..94048826624c 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -216,13 +216,12 @@ int kobject_register(struct kobject * kobj)
216/** 216/**
217 * kobject_set_name - Set the name of an object 217 * kobject_set_name - Set the name of an object
218 * @kobj: object. 218 * @kobj: object.
219 * @name: name. 219 * @fmt: format string used to build the name
220 * 220 *
221 * If strlen(name) >= KOBJ_NAME_LEN, then use a dynamically allocated 221 * If strlen(name) >= KOBJ_NAME_LEN, then use a dynamically allocated
222 * string that @kobj->k_name points to. Otherwise, use the static 222 * string that @kobj->k_name points to. Otherwise, use the static
223 * @kobj->name array. 223 * @kobj->name array.
224 */ 224 */
225
226int kobject_set_name(struct kobject * kobj, const char * fmt, ...) 225int kobject_set_name(struct kobject * kobj, const char * fmt, ...)
227{ 226{
228 int error = 0; 227 int error = 0;