linux/kernel/power
Johan Hovold 469fcbcb84 PM / sleep: fix device reference leak in test_suspend
commit ceb75787bc upstream.

Make sure to drop the reference taken by class_find_device() after
opening the RTC device.

Fixes: 77437fd4e6 (pm: boot time suspend selftest)
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-26 09:54:53 +01:00
..
autosleep.c
console.c
hibernate.c PM / hibernate: Restore processor state before using per-CPU variables 2016-09-30 10:18:39 +02:00
Kconfig PM / suspend: make sync() on suspend-to-RAM build-time optional 2015-07-31 23:46:05 +02:00
main.c PM / sleep: Report interrupt that caused system wakeup 2015-09-16 14:20:41 +02:00
Makefile
power.h
poweroff.c
process.c
qos.c
snapshot.c PM / hibernate: Fix rtree_next_node() to avoid walking off list ends 2016-09-30 10:18:39 +02:00
suspend_test.c PM / sleep: fix device reference leak in test_suspend 2016-11-26 09:54:53 +01:00
suspend.c PM / sleep: Add flags to indicate platform firmware involvement 2015-10-14 02:17:33 +02:00
swap.c mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM 2015-11-06 17:50:42 -08:00
user.c
wakelock.c