loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); if (!loc) {
dev_warn(&client->dev, "Missing hwsensor-location property!\n"); return -ENXIO;
}
/* * We only expose the external temperature register for * now as this is all we need for our control loops
*/ if (!strcmp(loc, "BACKSIDE") || !strcmp(loc, "SYS CTRLR AMBIENT"))
name = "backside-temp"; elseif (!strcmp(loc, "NB Ambient"))
name = "north-bridge-temp"; elseif (!strcmp(loc, "GPU Ambient"))
name = "gpu-temp"; else return -ENXIO;
max = kzalloc(sizeof(struct wf_6690_sensor), GFP_KERNEL); if (max == NULL) {
printk(KERN_ERR "windfarm: Couldn't create MAX6690 sensor: " "no memory\n"); return -ENOMEM;
}
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.15Bemerkung:
(vorverarbeitet am 2026-04-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.