Create sysfs binary attribute file for device.
int device_create_bin_file(struct device * dev, const struct bin_attribute * attr);
dev
device.
attr
device binary attribute descriptor.