diff options
| author | Dan Carpenter <[email protected]> | 2023-06-19 12:44:17 +0300 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2023-09-14 17:38:02 +0200 |
| commit | e35059949daa83f8dadf710d0f829ab3c3a72fe2 (patch) | |
| tree | d9517823bc62fdc9bd9db5ec9c83dc2960f04228 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
| parent | 4ec7b666fb4247bc6b9cdc84fa753d8dc2994d25 (diff) | |
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_job.c')
0 files changed, 0 insertions, 0 deletions