diff options
| author | Laxman Dewangan <[email protected]> | 2013-04-29 16:19:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-04-29 18:28:28 -0700 |
| commit | 38a6276e2b56921a407e718079aee79919873d72 (patch) | |
| tree | 105c46143f650432da4851e8aefeeb3ad54cd3bc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | cb72f60c17aea5f0bdd546420ebb16075d965f92 (diff) | |
drivers/rtc/rtc-tegra.c: protect suspend/resume callbacks with CONFIG_PM_SLEEP
CONFIG_PM doesn't actually enable any of the PM callbacks, it only allows
to enable CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. This means if CONFIG_PM
is used to protect system sleep callbacks then it may end up unreferenced
if only runtime PM is enabled. Hence protecting sleep callbacks with
CONFIG_PM_SLEEP.
Signed-off-by: Laxman Dewangan <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Reviewed-by: Stephen Warren <[email protected]>
Cc: Jingoo Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions