Commit daad2ef9 authored by Alice Ryhl's avatar Alice Ryhl Committed by Viresh Kumar
Browse files

rust: cpumask: rename CpumaskVar::as[_mut]_ref to from_raw[_mut]



The prefix as_* shouldn't be used for constructors. For further
motivation, see commit 2f5606af ("device: rust: rename
Device::as_ref() to Device::from_raw()").

Signed-off-by: default avatarAlice Ryhl <aliceryhl@google.com>
Reviewed-by: default avatarBenno Lossin <lossin@kernel.org>
Reviewed-by: default avatarYury Norov (NVIDIA) <yury.norov@gmail.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent e9832989
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment