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

COPYRIGHT