Lines Matching defs:spear_thermal
50 struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev);
51 struct spear_thermal_dev *stdev = spear_thermal->devdata;
66 struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev);
67 struct spear_thermal_dev *stdev = spear_thermal->devdata;
91 struct thermal_zone_device *spear_thermal = NULL;
127 spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0,
129 if (IS_ERR(spear_thermal)) {
131 ret = PTR_ERR(spear_thermal);
134 ret = thermal_zone_device_enable(spear_thermal);
140 platform_set_drvdata(pdev, spear_thermal);
142 dev_info(&spear_thermal->device, "Thermal Sensor Loaded at: 0x%p.\n",
148 thermal_zone_device_unregister(spear_thermal);
158 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev);
159 struct spear_thermal_dev *stdev = spear_thermal->devdata;
161 thermal_zone_device_unregister(spear_thermal);
182 .name = "spear_thermal",