diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-05-18 10:43:46 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-06-08 13:05:27 +0200 |
commit | e12854174bbe5bab7b8f3e378e05dc0700112112 (patch) | |
tree | 48498576e469c03d523ef8cc683dd09dd2af5e27 /Documentation/ABI | |
parent | 105df60f207301631258c966d82d99f826508b41 (diff) | |
download | linux-e12854174bbe5bab7b8f3e378e05dc0700112112.tar.gz linux-e12854174bbe5bab7b8f3e378e05dc0700112112.tar.bz2 linux-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 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions