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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>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