Files
linux/kernel/power
Johan Hovold 2e2c8f0e75 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:56:57 +01:00
..
2016-08-18 03:27:08 +02:00