spear_thermal 50 drivers/thermal/spear_thermal.c struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev); spear_thermal 51 drivers/thermal/spear_thermal.c struct spear_thermal_dev *stdev = spear_thermal->devdata; spear_thermal 66 drivers/thermal/spear_thermal.c struct thermal_zone_device *spear_thermal = dev_get_drvdata(dev); spear_thermal 67 drivers/thermal/spear_thermal.c struct spear_thermal_dev *stdev = spear_thermal->devdata; spear_thermal 91 drivers/thermal/spear_thermal.c struct thermal_zone_device *spear_thermal = NULL; spear_thermal 127 drivers/thermal/spear_thermal.c spear_thermal = thermal_zone_device_register("spear_thermal", 0, 0, spear_thermal 129 drivers/thermal/spear_thermal.c if (IS_ERR(spear_thermal)) { spear_thermal 131 drivers/thermal/spear_thermal.c ret = PTR_ERR(spear_thermal); spear_thermal 135 drivers/thermal/spear_thermal.c platform_set_drvdata(pdev, spear_thermal); spear_thermal 137 drivers/thermal/spear_thermal.c dev_info(&spear_thermal->device, "Thermal Sensor Loaded at: 0x%p.\n", spear_thermal 151 drivers/thermal/spear_thermal.c struct thermal_zone_device *spear_thermal = platform_get_drvdata(pdev); spear_thermal 152 drivers/thermal/spear_thermal.c struct spear_thermal_dev *stdev = spear_thermal->devdata; spear_thermal 154 drivers/thermal/spear_thermal.c thermal_zone_device_unregister(spear_thermal);