diff options
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index b21f864c9ce8..e61ad4e78c18 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c | |||
@@ -559,9 +559,9 @@ static void device_create_release(struct device *dev) | |||
559 | 559 | ||
560 | /** | 560 | /** |
561 | * device_create - creates a device and registers it with sysfs | 561 | * device_create - creates a device and registers it with sysfs |
562 | * @cs: pointer to the struct class that this device should be registered to. | 562 | * @class: pointer to the struct class that this device should be registered to. |
563 | * @parent: pointer to the parent struct device of this new device, if any. | 563 | * @parent: pointer to the parent struct device of this new device, if any. |
564 | * @dev: the dev_t for the char device to be added. | 564 | * @devt: the dev_t for the char device to be added. |
565 | * @fmt: string for the class device's name | 565 | * @fmt: string for the class device's name |
566 | * | 566 | * |
567 | * This function can be used by char device classes. A struct | 567 | * This function can be used by char device classes. A struct |
@@ -621,7 +621,7 @@ EXPORT_SYMBOL_GPL(device_create); | |||
621 | /** | 621 | /** |
622 | * device_destroy - removes a device that was created with device_create() | 622 | * device_destroy - removes a device that was created with device_create() |
623 | * @class: the pointer to the struct class that this device was registered * with. | 623 | * @class: the pointer to the struct class that this device was registered * with. |
624 | * @dev: the dev_t of the device that was previously registered. | 624 | * @devt: the dev_t of the device that was previously registered. |
625 | * | 625 | * |
626 | * This call unregisters and cleans up a class device that was created with a | 626 | * This call unregisters and cleans up a class device that was created with a |
627 | * call to class_device_create() | 627 | * call to class_device_create() |