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 2f5606afa4 ("device: rust: rename
Device::as_ref() to Device::from_raw()").

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Reviewed-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
Alice Ryhl 2025-08-13 07:54:31 +00:00 • committed by Viresh Kumar
commit daad2ef991
2 changed files with 3 additions and 3 deletions