diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-08-31 12:08:06 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-03 19:40:58 +0100 |
| commit | 5265b267e303ed07d922e0c353feec1fef1805cc (patch) | |
| tree | 5eb6b62cfc072ed3d628636acc35b3a57e33305b /tools/perf/scripts/python/bin | |
| parent | dt-bindings: iio: adc: microchip,mcp3201 yaml conversion. (diff) | |
| download | linux-5265b267e303ed07d922e0c353feec1fef1805cc.tar.gz linux-5265b267e303ed07d922e0c353feec1fef1805cc.zip | |
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 <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200831090813.78841-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
