hello Rui, Here is a temperature lookup helper function.
The usage of it is exemplified on patch 02. Please review. This may overlap with Durgas recent work. But I am resending as no one has commented my RFC. Cheers, Eduardo Valentin (2): thermal: introduce thermal_zone_lookup_temperature helper function staging: ti-soc-thermal: remove external heat while extrapolating hotspot drivers/staging/ti-soc-thermal/ti-thermal-common.c | 5 +-- drivers/thermal/thermal_sys.c | 32 ++++++++++++++++++++ include/linux/thermal.h | 1 + 3 files changed, 35 insertions(+), 3 deletions(-) -- 1.7.7.1.488.ge8e1c -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/