Name

device_create_file — create sysfs attribute file for device.

Synopsis

int device_create_file (struct device * dev,
 const struct device_attribute * attr);
 

Arguments

dev

device.

attr

device attribute descriptor.