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->devdata;
95 dev_err(&thermal->device,
117 { .compatible = "marvell,dove-thermal" },
123 struct thermal_zone_device *thermal = NULL;
148 thermal = thermal_zone_device_register("dove_thermal", 0, 0,
150 if (IS_ERR(thermal)) {
152 "Failed to register thermal zone device\n");
153 return PTR_ERR(thermal);
156 ret = thermal_zone_device_enable(thermal);
158 thermal_zone_device_unregister(thermal);
162 platform_set_drvdata(pdev, thermal);
191 MODULE_DESCRIPTION("Dove thermal driver");