Commit a4c9f71e authored by Danilo Krummrich's avatar Danilo Krummrich
Browse files

rust: device: implement Device::parent()



Device::parent() returns a reference to the device' parent device, if
any.

Reviewed-by: default avatarAlice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20250414131934.28418-3-dakr@kernel.org


Signed-off-by: default avatarDanilo Krummrich <dakr@kernel.org>
parent 9647b6c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment