Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp339399ybb; Wed, 1 Apr 2020 00:41:20 -0700 (PDT) X-Google-Smtp-Source: APiQypLe5o7nHJebs2B9CeZjhmngm5OSmtu+hrrAPCRS+otIKMBw8SZxMyEddlq+jLqWAR4J9LHD X-Received: by 2002:aca:c488:: with SMTP id u130mr1943127oif.154.1585726879882; Wed, 01 Apr 2020 00:41:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585726879; cv=none; d=google.com; s=arc-20160816; b=fHH1J8tTODXLjrpztk0olF/FP78Af8sZIG9IIXspgrHlfO0G5utGAZul6vyzwlm9wf 6Moi3r3qmnoLeo4wEcfArm5LXjBTX0pZIECQZ6JZ90pXz+QSB0QERNAJM7Zf1jFy1y1c TxpDE0I6dxR5XICIhI9vpg2DDV/v/wlmomHywr5CUrjmXM1FzCtO8FbJVTjiHPHHKguK uvFwVaatzBe0RtButGc470GlskuEeKVFouHHVKP+hSNNAFa/Q5XZQHeYr04DgoHvztMR jwVLPXR1QuX7VFEQiF/0sGDEhWtOPMuHO1o+/k9WvOuUr43qJ7Gh8CcAWpPtXNtEo2eo 5L9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Iz38hH6L+/1rWnMw2D6qTSHP15Y5UbjHoKF1/Zo+0lw=; b=aTGpqwJL5BIE7jqbsy1C3tbL0GnaTI00yoEmBmRH/bGv5gFghldasg85Mk2CuJBskw T86mEqJ69YzVf7ZJFCK8vklTlPVIQo4OsA4LEFYeD5y+wa+5J+qkTfzxKeIVoB5vndpM bdcKFY6VLv015+lniTWQLPm4ywQHu9qd6UVn6Jjbb+GZjqxkfQzfgLzTU4y47IVQe1zO 1S0CJv5Pgfr7D5wRGkGbG8+3tg3ANlMmLpSl+4U2yU0totS9pYXNeAdWGqA8gcN37EjT faTV+wTAektYPE+Jag9pDtNZf2A352jyG2b/T4Fpzaybho7UVMRb+u5kfWs8Ys2juNCK avrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y5si602234oiy.150.2020.04.01.00.41.07; Wed, 01 Apr 2020 00:41:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731912AbgDAHjg (ORCPT + 99 others); Wed, 1 Apr 2020 03:39:36 -0400 Received: from foss.arm.com ([217.140.110.172]:44576 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731680AbgDAHjg (ORCPT ); Wed, 1 Apr 2020 03:39:36 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C3F3D31B; Wed, 1 Apr 2020 00:39:35 -0700 (PDT) Received: from [10.37.12.63] (unknown [10.37.12.63]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 92B223F52E; Wed, 1 Apr 2020 00:39:34 -0700 (PDT) Subject: Re: [PATCH 1/2] thermal: core: Make thermal_zone_set_trips private To: Daniel Lezcano Cc: Zhang Rui , Amit Kucheria , "open list:THERMAL" , open list References: <20200331165449.30355-1-daniel.lezcano@linaro.org> From: Lukasz Luba Message-ID: <9cc7589f-8e76-62a7-34de-f79522b54622@arm.com> Date: Wed, 1 Apr 2020 08:39:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200331165449.30355-1-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/31/20 5:54 PM, Daniel Lezcano wrote: > The function thermal_zone_set_trips() is used by the thermal core code > in order to update the next trip points, there are no other users. > > Move the function definition in the thermal_core.h, remove the > EXPORT_SYMBOL_GPL and document the function. > > Signed-off-by: Daniel Lezcano > --- > drivers/thermal/thermal_core.h | 3 +++ > drivers/thermal/thermal_helpers.c | 13 ++++++++++++- > include/linux/thermal.h | 3 --- > 3 files changed, 15 insertions(+), 4 deletions(-) > Reviewed-by: Lukasz Luba Regards, Lukasz