From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63205C43334 for ; Tue, 5 Jul 2022 07:30:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230070AbiGEHad (ORCPT ); Tue, 5 Jul 2022 03:30:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbiGEHab (ORCPT ); Tue, 5 Jul 2022 03:30:31 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CCCB211478; Tue, 5 Jul 2022 00:30:30 -0700 (PDT) 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 D1A5E23A; Tue, 5 Jul 2022 00:30:30 -0700 (PDT) Received: from [10.57.8.239] (unknown [10.57.8.239]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6723B3F70D; Tue, 5 Jul 2022 00:30:28 -0700 (PDT) Message-ID: Date: Tue, 5 Jul 2022 08:30:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v3 05/12] thermal/core: Remove unneeded EXPORT_SYMBOLS Content-Language: en-US To: daniel.lezcano@linaro.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, abailon@baylibre.com, Amit Kucheria , Zhang Rui , Todd Kjos , Wei Wang , rafael@kernel.org, Daniel Lezcano References: <20220703183059.4133659-1-daniel.lezcano@linexp.org> <20220703183059.4133659-6-daniel.lezcano@linexp.org> From: Lukasz Luba In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On 7/4/22 22:14, Daniel Lezcano wrote: > On 04/07/2022 09:35, Lukasz Luba wrote: >> Hi Daniel, >> >> (+Todd and Wei on CC) >> >> >> On 7/3/22 19:30, Daniel Lezcano wrote: > > [ ... ] > >>>   } >>> -EXPORT_SYMBOL(get_tz_trend); > > [ ... ] > >>>   } >>> -EXPORT_SYMBOL(thermal_cdev_update); >> >> I wouldn't remove that export. I can see in my Pixel6 modules dir, that >> it's called in 7 places. >> >> I assume that in Android world this is common use. > > It is not possible to do changes taking into consideration out of tree > code. Moreover there is logically no good reason to use the > thermal_cdev_update() function from outside of the thermal core code. > I see your point which is 'upstream'. On the other hand the mostly deployed kernel is in Android devices and that brings a lot to the community. This symbol might also be used by other distros which might have modules for some accelerators, which also support tricky cooling. I would keep it as is...