Is there any specific reason that "kobject_uevent(&dev->kobj, KOBJ_ADD)
is called before calling "class_intf->add_dev(dev, class_intf) in the function device_add()?

I am wondering if we call after class_intf->add_dev, it will provide opportunity for
client drivers to do some operation before user space is notified.

Thanks,
Srinivas





--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to