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 = thermal_zone_device_priv(spear_thermal); 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 = thermal_zone_device_priv(spear_thermal); in spear_thermal_resume()91 struct thermal_zone_device *spear_thermal = NULL; in spear_thermal_probe() local125 spear_thermal = thermal_tripless_zone_device_register("spear_thermal", in spear_thermal_probe()127 if (IS_ERR(spear_thermal)) { in spear_thermal_probe()129 ret = PTR_ERR(spear_thermal); in spear_thermal_probe()132 ret = thermal_zone_device_enable(spear_thermal); in spear_thermal_probe()138 platform_set_drvdata(pdev, spear_thermal); in spear_thermal_probe()[all …]
38 obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o