Name

sysfs_add_file_to_group — add an attribute file to a pre-existing group.

Synopsis

int sysfs_add_file_to_group (struct kobject * kobj,
 const struct attribute * attr,
 const char * group);
 

Arguments

struct kobject * kobj

object we're acting for.

const struct attribute * attr

attribute descriptor.

const char * group

group name.