diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2023-08-09 16:12:27 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-08-09 22:02:50 +0200 |
commit | e5d5ffa48a6eadb67949590ca78c594836e2ae28 (patch) | |
tree | 43aea4ba4e3fceb3e5c8b0054b2225c54940d1c0 /tools/perf/scripts/python/export-to-postgresql.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 <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions