Add an attribute file to a pre-existing group.
int sysfs_add_file_to_group(struct kobject * kobj, const struct attribute * attr, const char * group);
kobj
object we're acting for.
attr
attribute descriptor.
group
group name.