浏览代码

Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6

* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
  kobject: Documentation Spelling Patch
  dev_set_name: fix missing kernel-doc
Linus Torvalds 17 年之前
父节点
当前提交
aaef4d6c2e
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      Documentation/kobject.txt
  2. 1 0
      drivers/base/core.c

+ 1 - 1
Documentation/kobject.txt

@@ -305,7 +305,7 @@ should not be manipulated by any other user.
 
 
 A kset keeps its children in a standard kernel linked list.  Kobjects point
 A kset keeps its children in a standard kernel linked list.  Kobjects point
 back to their containing kset via their kset field. In almost all cases,
 back to their containing kset via their kset field. In almost all cases,
-the kobjects belonging to a ket have that kset (or, strictly, its embedded
+the kobjects belonging to a kset have that kset (or, strictly, its embedded
 kobject) in their parent.
 kobject) in their parent.
 
 
 As a kset contains a kobject within it, it should always be dynamically
 As a kset contains a kobject within it, it should always be dynamically

+ 1 - 0
drivers/base/core.c

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