aboutsummaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-04-19 14:02:09 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-04-19 22:53:35 +0200
commitbc39fbcf9c782970263bdc5b428e4a755db16efb (patch)
treee2af4c79990e6d1d3e80dee995598f196f00d5d4 /kernel/locking/rtmutex-debug.c
parent8661423eea1a1b58417014716e3f1ba286072379 (diff)
downloadlinux-bc39fbcf9c782970263bdc5b428e4a755db16efb.tar.gz
linux-bc39fbcf9c782970263bdc5b428e4a755db16efb.tar.bz2
linux-bc39fbcf9c782970263bdc5b428e4a755db16efb.zip
ACPI / battery: Fix acpi_battery_exit on acpi_battery_init_async errors
The acpi_lock_battery_dir() / acpi_bus_register_driver() calls in acpi_battery_init_async() may fail. Check that they succeeded before undoing them. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions