diff options
| author | Linus Walleij <linus.walleij@linaro.org> | 2021-02-15 16:30:23 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-04-07 08:36:40 +0100 |
| commit | e64837bf9e2c063d6b5bab51c0554a60270f636d (patch) | |
| tree | 8d09078bcb1a5b7319814397153b6eb42b270904 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | 032aec339c86b565b2eef5c677c59294ef1112b9 (diff) | |
| download | linux-e64837bf9e2c063d6b5bab51c0554a60270f636d.tar.gz linux-e64837bf9e2c063d6b5bab51c0554a60270f636d.zip | |
iio: magnetometer: yas530: Fix return value on error path
There was a missed return variable assignment in the
default errorpath of the switch statement in yas5xx_probe().
Fix it.
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210215153023.47899-1-linus.walleij@linaro.org
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
