]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Driver core: struct class remove children list
authorDave Young <hidave.darkstar@gmail.com>
Fri, 9 May 2008 07:24:08 +0000 (15:24 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 May 2008 17:37:58 +0000 (10:37 -0700)
because of the class_device was removed, now do the children list removing

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
include/linux/device.h

index 0ef00e8d4153879513bfa2823a7fad0e25e4f6b7..e085af0ff94fb93007e7dce12f98443e4c5daa6d 100644 (file)
@@ -140,7 +140,6 @@ int class_register(struct class *cls)
 
        pr_debug("device class '%s': registering\n", cls->name);
 
-       INIT_LIST_HEAD(&cls->children);
        INIT_LIST_HEAD(&cls->devices);
        INIT_LIST_HEAD(&cls->interfaces);
        kset_init(&cls->class_dirs);
index 8c23e3dfe3ac215c721c1e54942f8260b25f3d43..15e9fa3ad3af92b8b692ad801bd3aa89fdb9d1b3 100644 (file)
@@ -183,7 +183,6 @@ struct class {
        struct module           *owner;
 
        struct kset             subsys;
-       struct list_head        children;
        struct list_head        devices;
        struct list_head        interfaces;
        struct kset             class_dirs;