diff options
author | 2015-06-14 17:32:14 +0300 | |
---|---|---|
committer | 2016-01-11 10:45:24 +0000 | |
commit | 60d613d6aef4ae49988eeb3ad38af948c561db1e (patch) | |
tree | 83a079993be7b6f9ddc195afade1d9eae3153036 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | backlight: adp8860: Fix another uninitialized variable use (diff) | |
download | linux-dev-60d613d6aef4ae49988eeb3ad38af948c561db1e.tar.xz linux-dev-60d613d6aef4ae49988eeb3ad38af948c561db1e.zip |
backlight: pwm_bl: Free PWM requested by legacy API on error path
If pwm is requested by legacy pwm_request() and if the following
backlight_device_register() call fails, add pwm_free() clean-up.
Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions