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.