diff options
Diffstat (limited to 'drivers/base/class.c')
-rw-r--r-- | drivers/base/class.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index b06b0e2b9c62..b32b77ff2dcd 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -228,7 +228,7 @@ error: | |||
228 | 228 | ||
229 | /** | 229 | /** |
230 | * class_destroy - destroys a struct class structure | 230 | * class_destroy - destroys a struct class structure |
231 | * @cs: pointer to the struct class that is to be destroyed | 231 | * @cls: pointer to the struct class that is to be destroyed |
232 | * | 232 | * |
233 | * Note, the pointer to be destroyed must have been created with a call | 233 | * Note, the pointer to be destroyed must have been created with a call |
234 | * to class_create(). | 234 | * to class_create(). |
@@ -658,9 +658,9 @@ int class_device_register(struct class_device *class_dev) | |||
658 | 658 | ||
659 | /** | 659 | /** |
660 | * class_device_create - creates a class device and registers it with sysfs | 660 | * class_device_create - creates a class device and registers it with sysfs |
661 | * @cs: pointer to the struct class that this device should be registered to. | 661 | * @cls: pointer to the struct class that this device should be registered to. |
662 | * @parent: pointer to the parent struct class_device of this new device, if any. | 662 | * @parent: pointer to the parent struct class_device of this new device, if any. |
663 | * @dev: the dev_t for the char device to be added. | 663 | * @devt: the dev_t for the char device to be added. |
664 | * @device: a pointer to a struct device that is assiociated with this class device. | 664 | * @device: a pointer to a struct device that is assiociated with this class device. |
665 | * @fmt: string for the class device's name | 665 | * @fmt: string for the class device's name |
666 | * | 666 | * |
@@ -766,7 +766,7 @@ void class_device_unregister(struct class_device *class_dev) | |||
766 | /** | 766 | /** |
767 | * class_device_destroy - removes a class device that was created with class_device_create() | 767 | * class_device_destroy - removes a class device that was created with class_device_create() |
768 | * @cls: the pointer to the struct class that this device was registered * with. | 768 | * @cls: the pointer to the struct class that this device was registered * with. |
769 | * @dev: the dev_t of the device that was previously registered. | 769 | * @devt: the dev_t of the device that was previously registered. |
770 | * | 770 | * |
771 | * This call unregisters and cleans up a class device that was created with a | 771 | * This call unregisters and cleans up a class device that was created with a |
772 | * call to class_device_create() | 772 | * call to class_device_create() |