diff options
author | 2016-07-09 01:19:51 +0300 | |
---|---|---|
committer | 2017-01-04 11:37:31 +0000 | |
commit | 0eb3fba8c68275f0122f65f7316efaaf86448016 (patch) | |
tree | 5d46ec3cd8c23a385d8784bf053ed1e6f310c22c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | backlight: lcd: Fix race condition during register (diff) | |
download | linux-dev-0eb3fba8c68275f0122f65f7316efaaf86448016.tar.xz linux-dev-0eb3fba8c68275f0122f65f7316efaaf86448016.zip |
backlight: adp5520: Fix error handling in adp5520_bl_probe()
If adp5520_bl_setup() fails, sysfs group left unremoved.
By the way, fix overcomplicated assignement of error code.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions