From patchwork Mon Aug 19 22:41:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 11102231 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D84861399 for ; Mon, 19 Aug 2019 22:42:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B65DF22CF4 for ; Mon, 19 Aug 2019 22:42:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="FH91SQEX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728635AbfHSWmF (ORCPT ); Mon, 19 Aug 2019 18:42:05 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:36908 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728633AbfHSWmD (ORCPT ); Mon, 19 Aug 2019 18:42:03 -0400 Received: by mail-pl1-f195.google.com with SMTP id bj8so1664849plb.4 for ; Mon, 19 Aug 2019 15:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=isGEEkXs5KsfPoU6k4xsqF6OzpzQ466lEnl9lP+jev0=; b=FH91SQEXP4CPrRUqTyz7aMJRachrVq+fpfsrCfNSwKOJ5ztW+0RQwsEJ/HFRENwGY9 r3AxWH1Ndpkn28AuzgaZztu7EljXF2OQ/5UIXzhXYZFQB246YLJG0uTklIYg+hhaOW4d 9lIW4STuFh4kTL8SxCtWE1O7W4kVHTvjrzhuE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=isGEEkXs5KsfPoU6k4xsqF6OzpzQ466lEnl9lP+jev0=; b=a49jBRwJP7+JgaygRaYFsWvJBKpehNCVaV012ZoDo7MpzaYENQZwT3IseEdbFwz8fI OxqstfllXIEn05clUjXn8CIZ+L/oAsuO/BYIULdnUiVymauIjehrH4nFmFCxfulmGDFw 3ZzY9aXEBU6HtmP9KvubNyv0hTQGNVzvRjs0QOL8+oeGH8nsjQUELCY4IOprQEUFmlaL WzPq2DqIwp8hQNI6NiO6qZkzBXe+LiYxzmtoiJyU+5brarNfWZmDcuxejS5FfiJiAQ/2 +yyZyBkbeK/7K5T9vuyGDVmTd6vSo/6JidiWUBo6oeeJu7vYbsQ2C3V9+AB4hyCSJlfw YP3w== X-Gm-Message-State: APjAAAUtlfWOQFnUiWQ6yBYOdmYv2lYQWTSGHFpKvk9Xvbm1jqxtu/we rvwsjjHAPbBdars/xRt6s2Xbrg== X-Google-Smtp-Source: APXvYqy6XW7GW2bp3WGm3DN5RHuveRy+dsrHMezjp+NUB8YYg6QmMRV/fewR05ENaqE8KLuPlC06nw== X-Received: by 2002:a17:902:5a1:: with SMTP id f30mr25405720plf.64.1566254522301; Mon, 19 Aug 2019 15:42:02 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id e9sm16841593pge.39.2019.08.19.15.42.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 15:42:01 -0700 (PDT) From: Stephen Boyd To: "Rafael J. Wysocki" Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Tri Vo Subject: [PATCH v4 2/2] PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}() Date: Mon, 19 Aug 2019 15:41:58 -0700 Message-Id: <20190819224158.62954-3-swboyd@chromium.org> X-Mailer: git-send-email 2.23.0.rc1.153.gdeed80330f-goog In-Reply-To: <20190819224158.62954-1-swboyd@chromium.org> References: <20190819224158.62954-1-swboyd@chromium.org> MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org These functions are just used by the PM core, and that isn't modular so these functions don't need to be exported. Drop the exports. Fixes: 986845e747af ("PM / wakeup: Show wakeup sources stats in sysfs") Cc: Tri Vo Reviewed-by: Tri Vo Signed-off-by: Stephen Boyd --- drivers/base/power/wakeup_stats.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/base/power/wakeup_stats.c b/drivers/base/power/wakeup_stats.c index bc5e3945f7a8..c7734914d914 100644 --- a/drivers/base/power/wakeup_stats.c +++ b/drivers/base/power/wakeup_stats.c @@ -182,7 +182,6 @@ int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) return 0; } -EXPORT_SYMBOL_GPL(wakeup_source_sysfs_add); /** * pm_wakeup_source_sysfs_add - Add wakeup_source attributes to sysfs @@ -205,7 +204,6 @@ void wakeup_source_sysfs_remove(struct wakeup_source *ws) { device_unregister(ws->dev); } -EXPORT_SYMBOL_GPL(wakeup_source_sysfs_remove); static int __init wakeup_sources_sysfs_init(void) {