diff options
author | 2014-05-05 23:29:00 +0200 | |
---|---|---|
committer | 2014-05-07 10:21:05 +0200 | |
commit | 5b1e8e0653760ade53c0c7caaa9278c57361cb8b (patch) | |
tree | 51d7110307f587e08ef3b445cae1b18784d12729 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm-backlight: switch to gpiod interface (diff) | |
download | linux-dev-5b1e8e0653760ade53c0c7caaa9278c57361cb8b.tar.xz linux-dev-5b1e8e0653760ade53c0c7caaa9278c57361cb8b.zip |
pwm: spear: fix check on pwmchip_add() return value
pwmchip_add() returns zero on success and a negative value on error,
so the condition of the check must be inverted.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions