Searched refs:dev_attr_label (Results 1 – 5 of 5) sorted by relevance
22 struct device_attribute dev_attr_label; member119 sensor = container_of(attr, struct sensor_data, dev_attr_label); in scpi_show_label()232 sensor->dev_attr_label.attr.mode = 0444; in scpi_hwmon_probe()233 sensor->dev_attr_label.show = scpi_show_label; in scpi_hwmon_probe()234 sensor->dev_attr_label.attr.name = sensor->label; in scpi_hwmon_probe()237 scpi_sensors->attrs[(idx << 1) + 1] = &sensor->dev_attr_label.attr; in scpi_hwmon_probe()
86 &dev_attr_label.attr,99 if (attr == &dev_attr_label.attr && hdev->label == NULL) in hwmon_dev_attr_is_visible()
211 &dev_attr_label.attr,
429 &dev_attr_label.attr,
1573 iio_dev_opaque->chan_attr_group.attrs[attrn++] = &dev_attr_label.attr; in iio_device_register_sysfs()