diff options
author | 2017-05-18 10:43:46 +0300 | |
---|---|---|
committer | 2017-06-08 13:05:27 +0200 | |
commit | e12854174bbe5bab7b8f3e378e05dc0700112112 (patch) | |
tree | 48498576e469c03d523ef8cc683dd09dd2af5e27 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | power: supply: sysfs: parse string as enum when writing property (diff) | |
download | linux-dev-e12854174bbe5bab7b8f3e378e05dc0700112112.tar.xz linux-dev-e12854174bbe5bab7b8f3e378e05dc0700112112.zip |
power: supply: ltc3651-charger: fix some error codes in probe
There are several cut and past bugs here. ltc3651_charger->charger is
NULL at this point, so we return success instead of the intended error
codes.
Fixes: c94d4ed017ae ("power: supply: Add ltc3651-charger driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
[Wei Yongjun found the same issue independently]
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions