mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-18 21:58:11 +07:00
UPSTREAM: 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: c8377adfa781 ("PM / wakeup: Show wakeup sources stats in sysfs")
Reviewed-by: Tri Vo <trong@android.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 78c0f050847cac4c43dbfc1916a63d1557c74ac0)
Bug: 129087298
Signed-off-by: Tri Vo <trong@google.com>
Change-Id: I16473a797cb1c0ffb172db8f255db1d5bec2f762
This commit is contained in:
parent
845f643723
commit
47b82948a1
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue