Commit e57eabe
platform/x86: thinkpad_acpi: check the return value of devm_mutex_init()
devm_mutex_init() can fail so check its return value.
Fixes: 38b9ab8 ("platform/x86: thinkpad_acpi: Move subdriver initialization to tpacpi_pdriver's probe.")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20250305103146.53221-1-brgl@bgdev.pl
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>1 parent 7bb84ca commit e57eabe
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11849 | 11849 | | |
11850 | 11850 | | |
11851 | 11851 | | |
11852 | | - | |
| 11852 | + | |
| 11853 | + | |
| 11854 | + | |
11853 | 11855 | | |
11854 | 11856 | | |
11855 | 11857 | | |
| |||
0 commit comments