Searched refs:spear_thermal (Results 1 – 2 of 2) sorted by relevance
61 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); in spear_thermal_suspend() local62 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_suspend()78 struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); in spear_thermal_resume() local79 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_resume()104 struct thermal_zone_device *spear_thermal = NULL; in spear_thermal_probe() local140 spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0, in spear_thermal_probe()142 if (IS_ERR(spear_thermal)) { in spear_thermal_probe()144 ret = PTR_ERR(spear_thermal); in spear_thermal_probe()148 platform_set_drvdata(pdev, spear_thermal); in spear_thermal_probe()150 dev_info(&spear_thermal->device, "Thermal Sensor Loaded at: 0x%p.\n", in spear_thermal_probe()[all …]
30 obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o