diff options
author | Yang Yingliang <[email protected]> | 2023-08-09 16:12:27 +0800 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-08-09 22:02:50 +0200 |
commit | e5d5ffa48a6eadb67949590ca78c594836e2ae28 (patch) | |
tree | 43aea4ba4e3fceb3e5c8b0054b2225c54940d1c0 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | c56beff2037549c951042d178de75e535818a98a (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 <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions