Create sysfs file for driver.
int driver_create_file(struct device_driver * drv, const struct driver_attribute * attr);
drv
driver.
attr
driver attribute descriptor.