TOPO_SENSOR_CLASS_THRESHOLD
TOPO_SENSOR_CLASS_THRESHOLD, &err) != 0 ||
if (strcmp(sd->sd_class, TOPO_SENSOR_CLASS_THRESHOLD) != 0) {
sd.sd_class = TOPO_SENSOR_CLASS_THRESHOLD;
if (strcmp(sensor_class, TOPO_SENSOR_CLASS_THRESHOLD) == 0)
TOPO_SENSOR_CLASS_THRESHOLD, sdp->sd_type)) == NULL)
TOPO_SENSOR_CLASS_THRESHOLD, &err) != 0 ||