[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190819224158.62954-3-swboyd@chromium.org>
Date: Mon, 19 Aug 2019 15:41:58 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
Tri Vo <trong@...roid.com>
Subject: [PATCH v4 2/2] PM / wakeup: Unexport wakeup_source_sysfs_{add,remove}()
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 <trong@...roid.com>
Reviewed-by: Tri Vo <trong@...roid.com>
Signed-off-by: Stephen Boyd <swboyd@...omium.org>
---
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)
{
--
Sent by a computer through tubes
Powered by blists - more mailing lists