Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp902814imk; Sun, 3 Jul 2022 11:44:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uj1a3UW200UarzHHm9lUbPbTh65GliHlglVhGGPhRSSwafbzclsTf4zQCKBI7MvgcJyieE X-Received: by 2002:a65:4b82:0:b0:412:4346:f594 with SMTP id t2-20020a654b82000000b004124346f594mr2039694pgq.593.1656873861479; Sun, 03 Jul 2022 11:44:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656873861; cv=none; d=google.com; s=arc-20160816; b=KK7Edvwp6HlDk6D5hxGYLo+uRLQ0Ig6dWd4pB3XqRbxhOjZ+GFxP4k9fjXoupKxegK XEdLQmzKDx2A/xDsR5PkDdRsudu9bW9GjSxA84b40tscR6Ff2hdHzta5KuwFqFFr1+Za 6NsESuNyg7ailJGIsl7BHDu6+N825AGJf5ENed+8XDJQqmQALbV1+LBGVTpQU7I1qxC4 eSIk3niagjtC8vN2Y2bqn6jMby1lUGBmpJujlnFm6oG2OF5CDy/Pr0UIY9w2DMiULnNQ BEiEXOlmEvanY+zLG3SDfe+n+ePTkYpg8bKQpHF2Q9ZNj0iiBWMn7Cq/CPC81V5no6ic YkuA== 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=T7tkBePSX5yj0NYkrN882NXSd6Nnb35TSjkjDJbwv98=; b=MveL3Op+Z1oMXTguHVV4c7WdWWHfhRrWdX8HzZMcgZoLsrSEjcaHQboZHOOj8GKF4s uXpZC8a2OTcbg46JklsJnSlUf8q2ireQDJZcIg2fFY+BdMxq2MW2nuF2zs6XSc3DE0fe cLDke28tX5uiGfd2VsGubHRkYAh1/LRuWk9zGrfu+3aBP2XR+BMPEUmWeBxJtQ74FzMp IcC1/jb8Y6HtcqhqDIj3mSxX2SwKlYMhgXuQq9Yjhc+Asg2FyPZklXShVQdiV749bhcj XRDvUpe9yz27qeiYh31gYSOO+dxCm9m/xBQzaAs/TADQk5FoAs4KE2aijytUmH27Prp9 bFUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linexp-org.20210112.gappssmtp.com header.s=20210112 header.b="OON/Z7AA"; 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 g19-20020a631113000000b0040d62e9fc93si36182640pgl.439.2022.07.03.11.44.07; Sun, 03 Jul 2022 11:44:21 -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="OON/Z7AA"; 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 S232761AbiGCSbp (ORCPT + 99 others); Sun, 3 Jul 2022 14:31:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232699AbiGCSbh (ORCPT ); Sun, 3 Jul 2022 14:31:37 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C97FE3898 for ; Sun, 3 Jul 2022 11:31:32 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id e28so10480077wra.0 for ; Sun, 03 Jul 2022 11:31:32 -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=T7tkBePSX5yj0NYkrN882NXSd6Nnb35TSjkjDJbwv98=; b=OON/Z7AAVnyojhsr41KEKcatST2zK4gWTUcHL1cZ/7LMyF0HO36KXoI8zqlqrmomcq hvFKBGqufPChB65qZ5rc+IK/KXhwyKE6U6e9W8IAaSf4w602kjXp+esQxUZXdCaThAft OtsUAhD8B06Xow+9XQtSgpTaXeoZYfUTHuFcC3X2Kj6Lisk1i+9cOyMVmNMxU21EqQL0 U5kSlzER5281yybwwkF/FXoCuREZbOz6b3YvQ+omlP9wPpNiAeqXJiWmbwcb33ZbTsgc KkHQmyxcg4hFcmcz514grNq0xTxx+e94IvdxZvNx2Rxx160DP6hEm2XF+QcbbiyQmB5z 5Gyg== 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=T7tkBePSX5yj0NYkrN882NXSd6Nnb35TSjkjDJbwv98=; b=OnEC/X2yFycKqbQMnOWWUJjwEvxmLf/AaK7pkfhna66DIjnNwyarbAAGzYHeTYvDql 1lculgsGn8Yk0zrJFZqEyKHuOczgXeyUvg2WEiIUb2t2VgVru83AQgN/bw169lnPtKbf MOcYaMpkC2eWS/W0dg2zs/ZvJCUKBgKT5KMpjQD/cQsps33b8Ocyd62L/tvuajvSASE2 Fp3nJFZME/w4A1jYWSNjM3fuyILL2qy0hIt+uKUB1X3fvuAoFpJtuJsA3NZwxkML/7E4 7APdgyU/ojVUSu3qyOUF7jLNdWUot+cyOPFaJP3W1JTInIvvDbq0GonqYqFuLi8yYnbM Wj6Q== X-Gm-Message-State: AJIora+6liKADD5jZ6dJR/6f5GzPbqVU3ZGE80xq0DNnjALFje2EG+qE jLT+hcWoF7vM5nNhkZ4BMd3vPw== X-Received: by 2002:adf:9d82:0:b0:21a:3906:59cc with SMTP id p2-20020adf9d82000000b0021a390659ccmr23609554wre.289.1656873091448; Sun, 03 Jul 2022 11:31:31 -0700 (PDT) Received: from localhost.localdomain (146725694.box.freepro.com. [130.180.211.218]) by smtp.gmail.com with ESMTPSA id x10-20020a5d54ca000000b0021b85664636sm27504258wrv.16.2022.07.03.11.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 11:31:31 -0700 (PDT) From: Daniel Lezcano To: daniel.lezcano@linaro.org, rafael@kernel.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, khilman@baylibre.com, abailon@baylibre.com, Amit Kucheria , Zhang Rui Subject: [PATCH v3 05/12] thermal/core: Remove unneeded EXPORT_SYMBOLS Date: Sun, 3 Jul 2022 20:30:52 +0200 Message-Id: <20220703183059.4133659-6-daniel.lezcano@linexp.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220703183059.4133659-1-daniel.lezcano@linexp.org> References: <20220703183059.4133659-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, 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 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 Cc; Eduardo Valentin 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