diff options
| author | Antoniu Miclaus <antoniu.miclaus@analog.com> | 2022-08-19 13:41:17 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-08-19 18:07:22 +0100 |
| commit | 30475ef2836ee47965e424b79e54e35c18ff0aeb (patch) | |
| tree | d8e8b7179847edeb2af42e2afe91348f74a01823 /tools/perf/scripts/python | |
| parent | iio: pressure: dlhl60d: Don't take garbage into consideration when reading data (diff) | |
| download | linux-30475ef2836ee47965e424b79e54e35c18ff0aeb.tar.gz linux-30475ef2836ee47965e424b79e54e35c18ff0aeb.zip | |
iio: frequency: admv1014: return -EINVAL directly
Remove extra step where the error code is assigned to the `ret`
variable.
Return instead error code directly.
Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20220819104117.4600-1-antoniu.miclaus@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
