summaryrefslogtreecommitdiff
path: root/samples/rust/rust_debugfs.rs
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-10-21 01:34:23 +0300
committerDanilo Krummrich <dakr@kernel.org>2025-10-29 18:40:28 +0300
commit6bbaa93912bfdfd5ffdc804275cc6a444c9400af (patch)
tree0dfcce7cb635ce77609d8a13275f4c04a70e9f5b /samples/rust/rust_debugfs.rs
parent37022410f4a3cc11614626a58cd08bcf8ea529e9 (diff)
downloadlinux-6bbaa93912bfdfd5ffdc804275cc6a444c9400af.tar.xz
rust: device: narrow the generic of drvdata_obtain()
Let T be the actual private driver data type without the surrounding box, as it leaves less room for potential bugs. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'samples/rust/rust_debugfs.rs')
0 files changed, 0 insertions, 0 deletions