driver model: Set device's kset before calling kobject_add().
Suggested by James Bottomley, and technically correct. We want the kset of the kobjects to be set before we call kobject_add() so we can access the kset's release method when the object is deleted.
Showing
Please register or sign in to comment