diff options
author | Tri Vo <[email protected]> | 2019-08-06 18:48:44 -0700 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2019-08-21 00:20:29 +0200 |
commit | 0d105d0f25386ee5b74603db6d249ebed7590cbc (patch) | |
tree | a24e37a1b6f0d60495e1585bfebb6839f01dfca6 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | d30bdfc0ecf885ca0495bdee522cb9d7ee005cf8 (diff) |
PM / wakeup: Drop wakeup_source_init(), wakeup_source_prepare()
wakeup_source_init() has no users. Remove it.
As a result, wakeup_source_prepare() is only called from
wakeup_source_create(). Merge wakeup_source_prepare() into
wakeup_source_create() and remove it.
Change wakeup_source_create() behavior so that assigning NULL to wakeup
source's name throws an error.
Signed-off-by: Tri Vo <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions