aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-05-18 10:43:46 +0300
committerSebastian Reichel <[email protected]>2017-06-08 13:05:27 +0200
commite12854174bbe5bab7b8f3e378e05dc0700112112 (patch)
tree48498576e469c03d523ef8cc683dd09dd2af5e27 /tools/perf/util/c++/clang-test.cpp
parent105df60f207301631258c966d82d99f826508b41 (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