diff options
| author | Dan Carpenter <[email protected]> | 2023-09-27 12:41:05 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-09-30 19:19:16 +0000 |
| commit | 8f8e9b7388514d937843337140f18ceb0f3da6eb (patch) | |
| tree | 89409187bf4eafce808213864cd3cfc45ac2d076 /lib/debugobjects.c | |
| parent | power: supply: mm8013: Fix error code in mm8013_probe() (diff) | |
| download | kernel-8f8e9b7388514d937843337140f18ceb0f3da6eb.tar.gz kernel-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 <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
