Home
last modified time | relevance | path

Searched refs:dev_attr_label (Results 1 – 2 of 2) sorted by relevance

/drivers/hwmon/
Dscpi-hwmon.c28 struct device_attribute dev_attr_label; member
88 sensor = container_of(attr, struct sensor_data, dev_attr_label); in scpi_show_label()
185 sensor->dev_attr_label.attr.mode = S_IRUGO; in scpi_hwmon_probe()
186 sensor->dev_attr_label.show = scpi_show_label; in scpi_hwmon_probe()
187 sensor->dev_attr_label.attr.name = sensor->label; in scpi_hwmon_probe()
190 scpi_sensors->attrs[(idx << 1) + 1] = &sensor->dev_attr_label.attr; in scpi_hwmon_probe()
/drivers/gpio/
Dgpiolib-sysfs.c429 &dev_attr_label.attr,