• Patrick Mochel's avatar
    [kobject] Don't specially order objects in lists based on parent. · c5c3f275
    Patrick Mochel authored
    Previously, we would insert kobjects into their kset's lists at different
    locations based on if they had a parent or not - We kept an explicit 
    depth-first list by placing devices directly before their parents.
    
    However, we don't need strict ordering. Assuming that a subordinate device 
    is always added after its parent (true), then by adding them to the end of 
    the list, then subordinate objects will always be farther down the list than
    their parent objects. We don't need to do anything special..
    c5c3f275
kobject.c 11.6 KB