Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp938318imi; Fri, 22 Jul 2022 13:03:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ugst5aPSSvFPE21TszHwkgf7twOT+Ows7Q3XHGRJIuCUF2pKyrsWeFqvfMEsztqcTNkCiZ X-Received: by 2002:a05:6402:4c3:b0:43a:f612:179d with SMTP id n3-20020a05640204c300b0043af612179dmr1448759edw.422.1658520215771; Fri, 22 Jul 2022 13:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658520215; cv=none; d=google.com; s=arc-20160816; b=CQW8AUkEHTL/uAN2itzQffOnUgmZiERFC30wwKYwshErW4HDW8QySaugNhnncwi+Fu yUN/pkMTAP4y4voVKBWdYKc9T3DI1p2/rPK0RnLonhUlRuKHmMdSMGwNd7dRJnB2kdVA EyfAoV7AMHpPeFoESVbuAO31TLKHeLaqZJKJf9BXKsmRw4Kq4xzBBKsWmWVy+nHsp8EL bn3IBdBm73qVQSljU5qpCkw/ceNHFL+2JzbLH53UPa7tNedWN8qXhSni2w3uJVQWw1tC tx4jaJF77bKA04AuRnuEW2IYfRUtx3nfxZft13TATTjpB63WMm9KjGp6KuxTe0y7tkk/ mIRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=K+KDnyI1rYWiKYKY6BfUNrB+RXhqQv2REJcaYGxminc=; b=zUS2ERsYcmeC9cId9s702A1lu159BUrXJlvzMKNFkLDsqHc6TAHYojUdcGheLZ6HMP /zBBQOjSdsI/LA9Sx+xFGdqC2r5shwXfGWwuZqtB+39LH+BIe2S9EsuDqxI/OeEj88lf F5ms06UnSD7tPA1ITVNroseSHp2r4bxW6Z2dCSFJp0j1JcJOJBUJgTRMcTpsuWGHZqAg XWNiAICfNLE7QqKEJ+3KcEEF2RQ/co5VP+o+f8vbE73w5V3udemm/qSCjSIpEwwp7dDt AYSyrwfNC+9zXGPa4qQAhK3EByjzkAAe58yy5QrMMGdhK4lJEM7H/f6pLQeGN0ZWt9mO IaXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linexp-org.20210112.gappssmtp.com header.s=20210112 header.b=RyYMkEWR; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m14-20020a056402510e00b0043bbc9402b5si7200232edd.604.2022.07.22.13.03.10; Fri, 22 Jul 2022 13:03:35 -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; dkim=pass header.i=@linexp-org.20210112.gappssmtp.com header.s=20210112 header.b=RyYMkEWR; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236654AbiGVUAy (ORCPT + 99 others); Fri, 22 Jul 2022 16:00:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235292AbiGVUAh (ORCPT ); Fri, 22 Jul 2022 16:00:37 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EE1952E55 for ; Fri, 22 Jul 2022 13:00:36 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id x23-20020a05600c179700b003a30e3e7989so3062940wmo.0 for ; Fri, 22 Jul 2022 13:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linexp-org.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K+KDnyI1rYWiKYKY6BfUNrB+RXhqQv2REJcaYGxminc=; b=RyYMkEWRyWyXOzZ5XLwkOoQNB6fRI6SQctP/iVvNIF0fmKVF2QL1gtVXaSZJXVhpGt 3i1l0opPXyqvdYiC622Z98kL9Amqj4C1PxfApDPpsVbf96hfIYTiEiolf0CiPsyb3blk AC5iI96atSSJ5o6NJJTNyljknYTvI0G/EM9EzCCJNyLELZTB5gSTw65ElDVARIxTexag BhtCkoZrCJMCOnh9YhAhC79zkT8XaPkNOUB9+0N55l1yjZZ99bjRsene6RY6AH9s2e1W u4S9VaIB9/cP5zPBX0Fycys+GiSWK2kxByiL9cfvGH9BLhWdkHIlwct4k0mdBdPrJprY KRxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=K+KDnyI1rYWiKYKY6BfUNrB+RXhqQv2REJcaYGxminc=; b=dCAJ11HfnRTSf5H4jfqumDnimRTM2IQeF+Zs7zVaqAmKTeplO5BbZcxNSqvQtORnu2 ToxPOhcXFeihvYuS4DZaDBDYDfZi/BhXsllop9Vnroyq26IK5hY1AXDk2FwpZCBNGSzS ugdobpH10hUotTHgreq9YM4xGyE3nuNRh5QLOheymhSogp8FuWfpf73uqxWqLP94y1e0 Q7pZnS0x+FkZvx9lUvQGYC2QLn5z325DIDuuTI/0IwNkunl0kzmFcgI+Tz5sKUeDrHgs JIxATkGkpWLR6RZro7vKxbNJcm+66Q/PcSbAwd3Ow/SqqiyO/vxPBE7tI8+kk0QBaz8P g7BQ== X-Gm-Message-State: AJIora8iu3YyOgKJvTg2CAaPNhG9XOYGpJ9DGuej6PuhTnnw1KPhcLAF mna/gSn+lRyLhZT+tetXW/0T7w== X-Received: by 2002:a1c:cc15:0:b0:3a3:a03:588 with SMTP id h21-20020a1ccc15000000b003a30a030588mr895303wmb.29.1658520035087; Fri, 22 Jul 2022 13:00:35 -0700 (PDT) Received: from mai.box.freepro.com ([2a05:6e02:1041:c10:957f:d36d:87f9:5c17]) by smtp.gmail.com with ESMTPSA id k23-20020a05600c1c9700b003a31b00c216sm6429008wms.0.2022.07.22.13.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 13:00:34 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, rafael@kernel.org Cc: rui.zhang@intel.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, abailon@baylibre.com, lukasz.luba@arm.com, Amit Kucheria Subject: [PATCH v6 05/10] thermal/core: Remove unneeded EXPORT_SYMBOLS Date: Fri, 22 Jul 2022 22:00:02 +0200 Message-Id: <20220722200007.1839356-6-daniel.lezcano@linexp.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220722200007.1839356-1-daniel.lezcano@linexp.org> References: <20220722200007.1839356-1-daniel.lezcano@linexp.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 Different functions are exporting the symbols but are actually only used by the thermal framework internals. Remove these EXPORT_SYMBOLS. Cc: Alexandre Bailon Cc: Kevin Hilman Signed-off-by: Daniel Lezcano --- drivers/thermal/thermal_helpers.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thermal/thermal_helpers.c b/drivers/thermal/thermal_helpers.c index 3edd047e144f..f4c1e87ef040 100644 --- a/drivers/thermal/thermal_helpers.c +++ b/drivers/thermal/thermal_helpers.c @@ -39,7 +39,6 @@ int get_tz_trend(struct thermal_zone_device *tz, int trip) return trend; } -EXPORT_SYMBOL(get_tz_trend); struct thermal_instance * get_thermal_instance(struct thermal_zone_device *tz, @@ -228,7 +227,6 @@ void thermal_cdev_update(struct thermal_cooling_device *cdev) } mutex_unlock(&cdev->lock); } -EXPORT_SYMBOL(thermal_cdev_update); /** * thermal_zone_get_slope - return the slope attribute of the thermal zone -- 2.25.1