diff options
| author | David S. Miller <davem@davemloft.net> | 2010-03-22 20:05:26 -0700 | 
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2010-03-22 20:05:26 -0700 | 
| commit | 91c030b4d6445ebe9fbddb86d584441f300df15c (patch) | |
| tree | e8a48e3ad9e0448c690268175e555fa651983546 /drivers/base/core.c | |
| parent | 7c3456fdb503071787f7f972de1069b9cacd16f0 (diff) | |
| parent | ae6be51ed01d6c4aaf249a207b4434bc7785853b (diff) | |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
Diffstat (limited to 'drivers/base/core.c')
| -rw-r--r-- | drivers/base/core.c | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/drivers/base/core.c b/drivers/base/core.c index ef55df34ddd0..b56a0ba31d4a 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1345,6 +1345,8 @@ static void root_device_release(struct device *dev)   * 'module' symlink which points to the @owner directory   * in sysfs.   * + * Returns &struct device pointer on success, or ERR_PTR() on error. + *   * Note: You probably want to use root_device_register().   */  struct device *__root_device_register(const char *name, struct module *owner) @@ -1432,6 +1434,8 @@ static void device_create_release(struct device *dev)   * Any further sysfs files that might be required can be created using this   * pointer.   * + * Returns &struct device pointer on success, or ERR_PTR() on error. + *   * Note: the struct class passed to this function must have previously   * been created with a call to class_create().   */ @@ -1492,6 +1496,8 @@ EXPORT_SYMBOL_GPL(device_create_vargs);   * Any further sysfs files that might be required can be created using this   * pointer.   * + * Returns &struct device pointer on success, or ERR_PTR() on error. + *   * Note: the struct class passed to this function must have previously   * been created with a call to class_create().   */ | 
