diff options
author | Prashant Malani <[email protected]> | 2021-09-15 18:46:27 -0700 |
---|---|---|
committer | Enric Balletbo i Serra <[email protected]> | 2021-09-23 17:41:30 +0200 |
commit | d50497c4a05e73e76874fd0d4942036375a7ec0f (patch) | |
tree | c1f05368ee9a868bec66cabbfb6a78bfe13b8a7b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5135b2139212f55c07c47e9af5e22f5874514011 (diff) |
platform/chrome: cros_ec_proto: Fix check_features ret val
The kerneldoc for cros_ec_check_features() states that it returns 1 or 0
depedending on whether a feature is supported or not, but it instead
returns a negative error number in one case, and a non-1 bitmask in
other cases.
Since all call-sites only check for a 1 or 0 return value, update
the function to return boolean values.
Signed-off-by: Prashant Malani <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions