dev_set_name: fix missing kernel-doc
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 5 Jun 2008 04:40:43 +0000 (21:40 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 Jun 2008 23:50:40 +0000 (16:50 -0700)
Fix kernel-doc for new dev_set_name() function:

Warning(lin2626-rc5//drivers/base/core.c:767): No description found for parameter 'fmt'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c

index 422cfcad486d3eab10b79318caaed63997b93a24..ee0a51a3a41d876451395b0f2a93b6a06a430394 100644 (file)
@@ -762,6 +762,7 @@ static void device_remove_class_symlinks(struct device *dev)
 /**
  * dev_set_name - set a device name
  * @dev: device
+ * @fmt: format string for the device's name
  */
 int dev_set_name(struct device *dev, const char *fmt, ...)
 {