diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-09-27 15:41:05 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-30 21:19:16 +0200 |
commit | 8f8e9b7388514d937843337140f18ceb0f3da6eb (patch) | |
tree | 89409187bf4eafce808213864cd3cfc45ac2d076 /drivers/dca | |
parent | 43ee22422db545800b8bf2c24ef53d040372fc7a (diff) | |
download | linux-stable-8f8e9b7388514d937843337140f18ceb0f3da6eb.tar.gz linux-stable-8f8e9b7388514d937843337140f18ceb0f3da6eb.tar.bz2 linux-stable-8f8e9b7388514d937843337140f18ceb0f3da6eb.zip |
power: supply: mm8013: Fix an error checking issue in mm8013_checkdevice()
There is a missing "ret = " assignment so this checks the same "ret"
value twice.
Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/c46b4408-bf1d-408d-9e6b-16b0ad272532@moroto.mountain
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions