Lines Matching refs:thermal
3 * Dove thermal sensor driver
14 #include <linux/thermal.h>
86 static int dove_get_temp(struct thermal_zone_device *thermal,
90 struct dove_thermal_priv *priv = thermal_zone_device_priv(thermal);
114 { .compatible = "marvell,dove-thermal" },
120 struct thermal_zone_device *thermal = NULL;
142 thermal = thermal_tripless_zone_device_register("dove_thermal", priv,
144 if (IS_ERR(thermal)) {
146 "Failed to register thermal zone device\n");
147 return PTR_ERR(thermal);
150 ret = thermal_zone_device_enable(thermal);
152 thermal_zone_device_unregister(thermal);
156 platform_set_drvdata(pdev, thermal);
185 MODULE_DESCRIPTION("Dove thermal driver");