diff options
| author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2020-09-16 11:22:21 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-09-16 19:15:54 +0100 |
| commit | 13ca1a1be50180ccd700cff00a342156b1cdae8e (patch) | |
| tree | 0b7df5f767162149e6707fa3cb0fde23f5b36626 /tools/perf/scripts/python/syscall-counts.py | |
| parent | iio: adc: ad9467: refine mismatch vs unknown chip-id messages (diff) | |
| download | linux-13ca1a1be50180ccd700cff00a342156b1cdae8e.tar.gz linux-13ca1a1be50180ccd700cff00a342156b1cdae8e.zip | |
iio: adc: ad9467: return ENODEV vs EINVAL in ad9467_setup()
The proper error code should be ENODEV (vs EINVAL) in case the chip ID
isn't recognized.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20200916082221.72851-1-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
