All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] kernel-doc in drivers/base/core.c corrections
@ 2006-07-04 11:55 Henne
  2006-07-04 22:25 ` Greg KH
  2006-07-04 22:53 ` Henne
  0 siblings, 2 replies; 3+ messages in thread
From: Henne @ 2006-07-04 11:55 UTC (permalink / raw)
  To: kernel-janitors

From: Henrik Kretzschmar <henne@nachtwindheim.de>

Corrects the kerneldocs for device_create() and device_destroy()
with an eye on coding style and grammar.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---

--- linux-2.6.17-git22/drivers/base/core.c	2006-07-04 11:12:06.000000000 +0200
+++ linux/drivers/base/core.c	2006-07-04 13:42:49.000000000 +0200
@@ -559,9 +559,9 @@

 /**
  * device_create - creates a device and registers it with sysfs
- * @cs: pointer to the struct class that this device should be registered to.
- * @parent: pointer to the parent struct device of this new device, if any.
- * @dev: the dev_t for the char device to be added.
+ * @class: pointer to the struct class that this device should be registered to
+ * @parent: pointer to the parent struct device of this new device, if any
+ * @devt: the dev_t for the char device to be added
  * @fmt: string for the class device's name
  *
  * This function can be used by char device classes.  A struct
@@ -620,11 +620,11 @@

 /**
  * device_destroy - removes a device that was created with device_create()
- * @class: the pointer to the struct class that this device was registered * with.
- * @dev: the dev_t of the device that was previously registered.
+ * @class: pointer to the struct class that this device was registered with
+ * @devt: the dev_t of the device that was previously registered
  *
  * This call unregisters and cleans up a class device that was created with a
- * call to class_device_create()
+ * call to class_device_create().
  */
 void device_destroy(struct class *class, dev_t devt)
 {
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-04 22:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-04 11:55 [KJ] [PATCH] kernel-doc in drivers/base/core.c corrections Henne
2006-07-04 22:25 ` Greg KH
2006-07-04 22:53 ` Henne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.