diff options
author | Onur Özkan <work@onurozkan.dev> | 2025-08-21 12:16:05 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-08-26 08:10:45 +0300 |
commit | 22763c35c635466545c0cea825da01c72becbcea (patch) | |
tree | 9203c7511dc3563d3459d2e7bcbe4b70ba3ae4c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) | |
download | linux-22763c35c635466545c0cea825da01c72becbcea.tar.xz |
rust: opp: use to_result for error handling
Simplifies error handling by replacing the manual check
of the return value with the `to_result` helper.
Signed-off-by: Onur Özkan <work@onurozkan.dev>
Reviewed-by: Elle Rhumsaa <elle@weathered-steel.dev>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions