Name

sysfs_create_file — create an attribute file for an object.

Synopsis

int sysfs_create_file (struct kobject *  kobj,
 const struct attribute *  attr);

Arguments

kobj

object we're creating for.

attr

attribute descriptor.