Searched refs:spear_thermal (Results 1 – 2 of 2) sorted by relevance
50 struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev); in spear_thermal_suspend() local51 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_suspend()66 struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev); in spear_thermal_resume() local67 struct spear_thermal_dev *stdev = spear_thermal->devdata; in spear_thermal_resume()91 struct thermal_zone_device *spear_thermal = NULL; in spear_thermal_probe() local127 spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0, in spear_thermal_probe()129 if (IS_ERR(spear_thermal)) { in spear_thermal_probe()131 ret = PTR_ERR(spear_thermal); in spear_thermal_probe()134 ret = thermal_zone_device_enable(spear_thermal); in spear_thermal_probe()140 platform_set_drvdata(pdev, spear_thermal); in spear_thermal_probe()[all …]
35 obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o