Skip to content
Unverified Commit e57eabe2 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski Committed by Ilpo Järvinen
Browse files

platform/x86: thinkpad_acpi: check the return value of devm_mutex_init()



devm_mutex_init() can fail so check its return value.

Fixes: 38b9ab80 ("platform/x86: thinkpad_acpi: Move subdriver initialization to tpacpi_pdriver's probe.")
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250305103146.53221-1-brgl@bgdev.pl


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent 7bb84ca9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment