DEVICE_CREATE_FILE(9) Device drivers infrastructure DEVICE_CREATE_FILE(9)

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.

COPYRIGHT Kernel Hackers Manual 2.6. September 2014 DEVICE_CREATE_FILE(9)