aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-12-14 17:38:50 +0100
committerSebastian Reichel <sre@kernel.org>2017-01-04 21:59:08 +0100
commit6f074bc878dc9b00c0df0bf3a8cb1d9e294cd881 (patch)
tree808e014564adab1d9558d2ee62fa4b254def4865 /tools/perf/scripts/python
parentdt-bindings: power: supply: bq24735: reverse the polarity of ac-detect (diff)
downloadlinux-6f074bc878dc9b00c0df0bf3a8cb1d9e294cd881.tar.gz
linux-6f074bc878dc9b00c0df0bf3a8cb1d9e294cd881.zip
power: supply: axp288_fuel_gauge: Fix fuel_gauge_reg_readb return on error
If reading the register fails, return the actual error code, instead of the uninitialized val variable; Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions