]> Pileus Git - ~andy/linux/blobdiff - drivers/base/core.c
[PATCH] Driver core: Use klist_del() instead of klist_remove().
[~andy/linux] / drivers / base / core.c
index 86d79755fbfb9d4c62c572df8d0585200d1064bf..efe03a024a5bc39bf958881143d740312c3b09bc 100644 (file)
@@ -333,7 +333,7 @@ void device_del(struct device * dev)
        struct device * parent = dev->parent;
 
        if (parent)
-               klist_remove(&dev->knode_parent);
+               klist_del(&dev->knode_parent);
 
        /* Notify the platform of the removal, in case they
         * need to do anything...