diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-05-17 22:42:02 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-27 01:33:30 +0100 |
commit | 196bf3e7fe2267ed7c1a193338d0aacecb9f9ff8 (patch) | |
tree | aa34a85f1e89f97480fd94f86f8b3ac29f28bbd6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 04518cd88776721960aff724049138a8bd929c59 (diff) |
spi: gpio: Use traditional pattern when checking error codes
Instead of 'if (!ret)' switch to "check for the error first" rule.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://msgid.link/r/20240517194246.747427-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions