aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r--drivers/base/core.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 47e16c088e77..64d188be4df9 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -4332,9 +4332,6 @@ error:
* 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().
*/
struct device *device_create(const struct class *class, struct device *parent,
dev_t devt, void *drvdata, const char *fmt, ...)
@@ -4373,9 +4370,6 @@ EXPORT_SYMBOL_GPL(device_create);
* 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().
*/
struct device *device_create_with_groups(const struct class *class,
struct device *parent, dev_t devt,