Name

device_create_file — create sysfs attribute file for device.

Synopsis

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

Arguments

dev

device.

attr

device attribute descriptor.