diff options
| author | Dan Carpenter <[email protected]> | 2023-06-19 09:44:17 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-09-14 15:38:02 +0000 |
| commit | e35059949daa83f8dadf710d0f829ab3c3a72fe2 (patch) | |
| tree | d9517823bc62fdc9bd9db5ec9c83dc2960f04228 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | power: vexpress: fix -Wvoid-pointer-to-enum-cast warning (diff) | |
| download | kernel-e35059949daa83f8dadf710d0f829ab3c3a72fe2.tar.gz kernel-e35059949daa83f8dadf710d0f829ab3c3a72fe2.zip | |
power: supply: ucs1002: fix error code in ucs1002_get_property()
This function is supposed to return 0 for success instead of returning
the val->intval. This makes it the same as the other case statements
in this function.
Fixes: 81196e2e57fc ("power: supply: ucs1002: fix some health status issues")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
