sysfs_create_file — create an attribute file for an object.
int sysfs_create_file (struct kobject * kobj, const struct attribute * attr);
int sysfs_create_file (
)
kobj
object we're creating for.
attr
atrribute descriptor.