kobject_unregister — remove object from hierarchy and decrement refcount.
void kobject_unregister (struct kobject * kobj);
void kobject_unregister (
)
kobj
object going away.