So I have sysfs structure /sys/class/drm/device/foo/moo. moo is a subdirectory that has been created using an attribute_group.
Now I want to add a subdirectory under moo - /sys/class/drm/device/foo/moo/boo. How do I go about creating boo?
The attribute creation for boo is in a separate file from where moo has been created.
- moo.c -> creates attribute_group moo
- boo.c -> creates attribute_group boo that must be added under moo
How do I do this?