Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp957301imw; Tue, 5 Jul 2022 00:57:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1su8UcWa6NR3FbkuY9tBwVbt7PumHg7cILxIM0uFL+lypB59skD/b+pOj9E79ZKt0Rf2ftt X-Received: by 2002:a05:6402:403:b0:434:eb49:218f with SMTP id q3-20020a056402040300b00434eb49218fmr45669754edv.426.1657007850474; Tue, 05 Jul 2022 00:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657007850; cv=none; d=google.com; s=arc-20160816; b=Sgtvj2ee38n7hVTNlO1buPxqCT7pMWuSD+eB4ySvNJqQ6vT8wspMbO3k7id0N0GgJD RWUF0EsjkvI4tZeHoMbLvJWTglDY5+17R7cgzsZX5Erzjkspj1FsXGftEjvQlK5w3o0E m8ssB+vcO1jfHHsbvJDUFDDXjRlssq4znGG48GBH9OGguAOuizKy/UDUFrjQ+yfGX3rE XV5vHYGt7/BX+pTHK+oZhAogqNWtj58c49CMrFelOwpLSZjKVibU4EOYDEjzJIoniurN 45fGJaqL2YQWQZwT3AxHe6cO4Ktfrkujn5G283U5w/Oj0XFQNF8E1yE2ulyMOd/yJ5XL E8zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ebjErXkG4SLj05i9BM4VcO3vub78oQF++7N0NfopQok=; b=T1XgLlW63/RYbLKMZtokbiKMqLxa9cUovFVAJV7+uAljPHPypHNyWhRhRUk8OoiPJ1 Fw6rlKFtrpxRYZT+fCpkrYHAa4LWcIpGuOixQv/Uj2x+UTqjIzYzCVFYtG/IToDhC4If hxTm1o5sPRG00iANIBW+y5fpYhI+midVsBvvb16kZMzeoBSDlnuHPdBCtCeXxYPQl3+s 1vaz9VDEmr45DvJ/4SeMhWk+weUvOnGdApt7RD1pBkyvtxgulW+9vI0bLJSkJljZDJXV UPVPiMyMWcqbsUBkIYec/yDw/JErKb4gekLJ9RRQzkaZfs11WCK9+eoCmhZxkpbDh0Rr yPHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020aa7d658000000b0043a7c1caadasi383170edr.298.2022.07.05.00.57.06; Tue, 05 Jul 2022 00:57:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbiGEHad (ORCPT + 99 others); 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 X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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...