diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-06-23 15:09:40 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-07-28 09:26:18 +0100 |
commit | ad5152b85e8bc7dacb1e6e237553fbe779c938e0 (patch) | |
tree | 345ff2e48a49d2130bdc10f102ca226a11d8d5db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8766addf665e9f0ace15cca894ba225e5a4d580a (diff) |
leds: aw200xx: Fix error code in probe()
The "ret" variable is zero/success here. Don't return that, return
-EINVAL instead.
Fixes: 36a87f371b7a ("leds: Add AW20xx driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/4d791b69-01c7-4532-818c-63712d3f63e1@moroto.mountain
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions