diff options
| author | 2023-08-09 16:12:27 +0800 | |
|---|---|---|
| committer | 2023-08-09 22:02:50 +0200 | |
| commit | e5d5ffa48a6eadb67949590ca78c594836e2ae28 (patch) | |
| tree | 43aea4ba4e3fceb3e5c8b0054b2225c54940d1c0 /scripts/Makefile.thinlto | |
| parent | platform/x86/siemens: simatic-ipc-batt: add support for module BX-59A (diff) | |
platform/x86/siemens: simatic-ipc-batt: fix wrong pointer pass to PTR_ERR()
Fix wrong pointer pass to PTR_ERR() if devm_gpiod_get_index() fails.
Fixes: 917f54340794 ("platform/x86: simatic-ipc: add CMOS battery monitoring")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230809081227.1221267-1-yangyingliang@huawei.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
