in dio-sysfs.c [47:53]
static ssize_t dio_show_name(struct device *dev, struct device_attribute *attr, char *buf) { struct dio_dev *d; d = to_dio_dev(dev); return sprintf(buf, "%s\n", d->name); }