summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorTimur Tabi <ttabi@nvidia.com>2026-03-20 00:26:53 +0300
committerDanilo Krummrich <dakr@kernel.org>2026-03-25 01:51:23 +0300
commitd35ae50c5f48dfcd33cb24bf477ce912fa0af1f7 (patch)
tree66e7e187b53b5541fdce788b7a1b4e810b71e1b6 /include/linux
parent651c27d6a7e2b92eb30f56738dc45e861c975921 (diff)
downloadlinux-d35ae50c5f48dfcd33cb24bf477ce912fa0af1f7.tar.xz
rust: device: add device name method
Add a name() method to the `Device` type, which returns a CStr that contains the device name. Signed-off-by: Timur Tabi <ttabi@nvidia.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Gary Guo <gary@garyguo.net> Tested-by: John Hubbard <jhubbard@nvidia.com> Tested-by: Eliot Courtney <ecourtney@nvidia.com> Link: https://patch.msgid.link/20260319212658.2541610-2-ttabi@nvidia.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions