kobjects: add array of default attributes to subsystems, and create on registration.
struct subsystem may now contain a pointer to a NULL-terminated array of default attributes to be exported when an object is registered with the subsystem. kobject registration will check the return values of the directory creation and the creation of each file, and handle it appropriately. The documentation has also been updated.
Showing
Please register or sign in to comment