Skip to content

Commit

Permalink
[PATCH] Driver core: fix driver-core kernel-doc
Browse files Browse the repository at this point in the history
Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'class'
Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:574): No description found for parameter 'devt'
Warning(/var/linsrc/linux-2617-g4//drivers/base/core.c:626): No description found for parameter 'devt'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Randy Dunlap authored and Greg Kroah-Hartman committed Jul 12, 2006
1 parent 155dbfd commit 7d12e9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,9 +559,9 @@ static void device_create_release(struct device *dev)

/**
* device_create - creates a device and registers it with sysfs
* @cs: pointer to the struct class that this device should be registered to.
* @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.
* @dev: the dev_t for the char device to be added.
* @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
Expand Down Expand Up @@ -621,7 +621,7 @@ EXPORT_SYMBOL_GPL(device_create);
/**
* 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.
* @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()
Expand Down

0 comments on commit 7d12e9d

Please sign in to comment.