Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dscpi-hwmon.c21 struct device_attribute dev_attr_input; member
94 sensor = container_of(attr, struct sensor_data, dev_attr_input); in scpi_show_sensor()
228 sensor->dev_attr_input.attr.mode = 0444; in scpi_hwmon_probe()
229 sensor->dev_attr_input.show = scpi_show_sensor; in scpi_hwmon_probe()
230 sensor->dev_attr_input.attr.name = sensor->input; in scpi_hwmon_probe()
236 scpi_sensors->attrs[idx << 1] = &sensor->dev_attr_input.attr; in scpi_hwmon_probe()