sysfs_create_file(9) 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.

COPYRIGHT