diff options
author | 2024-04-10 23:21:47 +0300 | |
---|---|---|
committer | 2024-04-11 16:37:08 +0300 | |
commit | d8a26a18d971cd52a9b253aa2cff7dcb20187711 (patch) | |
tree | dc528265b7af148494098bfd84a56deb666e3189 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpiolib: acpi: Remove never true check in acpi_get_gpiod_by_index() (diff) | |
download | wireguard-linux-d8a26a18d971cd52a9b253aa2cff7dcb20187711.tar.xz wireguard-linux-d8a26a18d971cd52a9b253aa2cff7dcb20187711.zip |
gpiolib: acpi: Check for errors first in acpi_find_gpio()
It's better to parse the code when the usual pattern is being used,
i.e. checking for error condition first.
There is no functional or code generation change (tested in LLVM).
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions