Re: [RFC] New kobject/kset/ktype documentation and example code

Cornelia Huck
2007-11-29T09:35:51Z

On Thu, 29 Nov 2007 08:50:31 +0100,
Kay Sievers <kay.sievers@vrfy.org> wrote:

> We have ~20 callers of kobject_(un)register(), convert them to
> kobject_init() + kobject_add() + kobject_uevent(), and just delete the
> broken kobject_(un)register() functions from the kobject code.

I find a bit more callers in my tree, but it still isn't too many.

This may also be a good time to evaluate which of those kobjects really
need a uevent. For example, I can imagine that you don't need a uevent
for a directory being created, but only for the objects created in that
directory.