Commit ea2e10e5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Linus Torvalds

[PATCH] Driver Core: restore comment in kobject_uevent.c

Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 01eb4811
...@@ -122,7 +122,7 @@ EXPORT_SYMBOL(class_simple_destroy); ...@@ -122,7 +122,7 @@ EXPORT_SYMBOL(class_simple_destroy);
* be created, showing the dev_t for the device. The pointer to the struct * be created, showing the dev_t for the device. The pointer to the struct
* class_device will be returned from the call. Any further sysfs files that * class_device will be returned from the call. Any further sysfs files that
* might be required can be created using this pointer. * might be required can be created using this pointer.
* Note: the struct class_device passed to this function must have previously been * Note: the struct class_simple passed to this function must have previously been
* created with a call to class_simple_create(). * created with a call to class_simple_create().
*/ */
struct class_device *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...) struct class_device *class_simple_device_add(struct class_simple *cs, dev_t dev, struct device *device, const char *fmt, ...)
......
...@@ -205,6 +205,8 @@ void kobject_hotplug(struct kobject *kobj, enum kobject_action action) ...@@ -205,6 +205,8 @@ void kobject_hotplug(struct kobject *kobj, enum kobject_action action)
static struct kset_hotplug_ops null_hotplug_ops; static struct kset_hotplug_ops null_hotplug_ops;
struct kset_hotplug_ops *hotplug_ops = &null_hotplug_ops; struct kset_hotplug_ops *hotplug_ops = &null_hotplug_ops;
/* If this kobj does not belong to a kset,
try to find a parent that does. */
if (!top_kobj->kset && top_kobj->parent) { if (!top_kobj->kset && top_kobj->parent) {
do { do {
top_kobj = top_kobj->parent; top_kobj = top_kobj->parent;
......
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