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

From: Cornelia Huck
Date: Thu Nov 29 2007 - 04:35:53 EST


On Thu, 29 Nov 2007 08:50:31 +0100,
Kay Sievers <kay.sievers@xxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/