From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161503Ab3DEMdA (ORCPT ); Fri, 5 Apr 2013 08:33:00 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:48386 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752128Ab3DEMc6 (ORCPT ); Fri, 5 Apr 2013 08:32:58 -0400 From: Eduardo Valentin To: CC: , , , Eduardo Valentin Subject: [PATCHv3 0/3] thermal: lookup temperature Date: Fri, 5 Apr 2013 08:32:27 -0400 Message-ID: <1365165150-11720-1-git-send-email-eduardo.valentin@ti.com> X-Mailer: git-send-email 1.7.7.1.488.ge8e1c MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Rui, Here is V3 of temperature lookup helper function. This has been split into two API as suggested on V1 and now the API returns an specific error code for multiple matches, as suggested in V2. The usage of it is exemplified on patch 03. Eduardo Valentin (3): thermal: introduce thermal_zone_get_zone_by_name helper function thermal: expose thermal_zone_get_temp API staging: ti-soc-thermal: remove external heat while extrapolating hotspot drivers/staging/ti-soc-thermal/ti-thermal-common.c | 30 +++++++---- drivers/thermal/thermal_sys.c | 58 +++++++++++++++++++- include/linux/thermal.h | 2 + 3 files changed, 77 insertions(+), 13 deletions(-) -- 1.7.7.1.488.ge8e1c