Unverified Commit e2ab5f60 authored by Onur Özkan's avatar Onur Özkan Committed by Mark Brown
Browse files

rust: regulator: 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: default avatarOnur Özkan <work@onurozkan.dev>
Reviewed-by: default avatarDaniel Almeida <daniel.almeida@collabora.com>
Message-ID: <20250821090720.23939-1-work@onurozkan.dev>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ec0be3cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment