Commit 92a0f861 authored by Rolf Eike Beer's avatar Rolf Eike Beer Committed by Linus Torvalds

[PATCH] Fix parameter names in drivers/base/class.c

Change parameter names to match arguments of functions.
Signed-off-by: default avatarRolf Eike Beer <eike-kernel@sf-tec.de>
Cc: Martin Waitz <tali@admingilde.org>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 78b2290f
...@@ -228,7 +228,7 @@ struct class *class_create(struct module *owner, const char *name) ...@@ -228,7 +228,7 @@ struct class *class_create(struct module *owner, const char *name)
/** /**
* class_destroy - destroys a struct class structure * class_destroy - destroys a struct class structure
* @cs: pointer to the struct class that is to be destroyed * @cls: pointer to the struct class that is to be destroyed
* *
* Note, the pointer to be destroyed must have been created with a call * Note, the pointer to be destroyed must have been created with a call
* to class_create(). * to class_create().
...@@ -658,9 +658,9 @@ int class_device_register(struct class_device *class_dev) ...@@ -658,9 +658,9 @@ int class_device_register(struct class_device *class_dev)
/** /**
* class_device_create - creates a class device and registers it with sysfs * class_device_create - creates a class device and registers it with sysfs
* @cs: pointer to the struct class that this device should be registered to. * @cls: pointer to the struct class that this device should be registered to.
* @parent: pointer to the parent struct class_device of this new device, if any. * @parent: pointer to the parent struct class_device of this new device, if any.
* @dev: the dev_t for the char device to be added. * @devt: the dev_t for the char device to be added.
* @device: a pointer to a struct device that is assiociated with this class device. * @device: a pointer to a struct device that is assiociated with this class device.
* @fmt: string for the class device's name * @fmt: string for the class device's name
* *
...@@ -766,7 +766,7 @@ void class_device_unregister(struct class_device *class_dev) ...@@ -766,7 +766,7 @@ void class_device_unregister(struct class_device *class_dev)
/** /**
* class_device_destroy - removes a class device that was created with class_device_create() * class_device_destroy - removes a class device that was created with class_device_create()
* @cls: the pointer to the struct class that this device was registered * with. * @cls: the pointer to the struct class that this device was registered * with.
* @dev: the dev_t of the device that was previously registered. * @devt: the dev_t of the device that was previously registered.
* *
* This call unregisters and cleans up a class device that was created with a * This call unregisters and cleans up a class device that was created with a
* call to class_device_create() * call to class_device_create()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment