summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-02-20 18:58:57 +0300
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>2020-03-02 13:04:05 +0300
commitcff38b0c58fc738ad559582c13878aa882da6a56 (patch)
treedaf319c1b55020cedd6c84e7a056679b32050f9b /tools/perf/scripts/python/export-to-postgresql.py
parent72540a57165392b8d4eea6c076886d3128849604 (diff)
downloadlinux-cff38b0c58fc738ad559582c13878aa882da6a56.tar.xz
platform/chrome: cros_ec_lightbar: Use cros_ec_cmd_xfer_status helper
This patch makes use of cros_ec_cmd_xfer_status() instead of cros_ec_cmd_xfer(). It allows us to remove some redundand code. In this case, though, we are changing a bit the behaviour because of returning -EINVAL on protocol error we propagate the error return for cros_ec_cmd_xfer_status() function, but I think it will be fine, even more clear as we don't mask the Linux error code. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Tested-by: Prashant Malani <pmalani@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions