diff options
| author | Andy Shevchenko <[email protected]> | 2020-08-31 12:08:06 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-09-03 19:40:58 +0100 |
| commit | 5265b267e303ed07d922e0c353feec1fef1805cc (patch) | |
| tree | 5eb6b62cfc072ed3d628636acc35b3a57e33305b /tools/perf/scripts/python/bin | |
| parent | 8d7eab620713013fab061925775b695a4ff3b258 (diff) | |
iio: accel: bma220: Fix returned codes from bma220_init(), bma220_deinit()
Potentially bma220_init() and bma220_deinit() may return positive codes.
Fix the logic to return proper error codes instead.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions