diff options
author | Dan Carpenter <[email protected]> | 2017-05-18 10:43:46 +0300 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2017-06-08 13:05:27 +0200 |
commit | e12854174bbe5bab7b8f3e378e05dc0700112112 (patch) | |
tree | 48498576e469c03d523ef8cc683dd09dd2af5e27 /tools/perf/util/c++/clang-test.cpp | |
parent | 105df60f207301631258c966d82d99f826508b41 (diff) |
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 <[email protected]>
[Wei Yongjun found the same issue independently]
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Mike Looijmans <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions