summaryrefslogtreecommitdiff
path: root/include/linux/device/devres.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2025-12-03 09:04:11 +0900
committerDanilo Krummrich <dakr@kernel.org>2026-01-19 15:02:46 +0100
commit744905705113a6ab4c38127f18cc0d71594cfaec (patch)
tree1c0cd1e17bc0dac74b0bc1c4fc635dea50aa69c4 /include/linux/device/devres.h
parent61f5ec54c8a64c8b2d035215294389dd021318c7 (diff)
rust: debugfs: Use kernel Atomic type in docs example
Switch the read_callback_file() documentation example from core::sync::atomic::AtomicU32 to the kernel's Atomic because Rust native atomics are not allowed to use in kernel. Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com> Reviewed-by: Boqun Feng <boqun.feng@gmail.com> Link: https://patch.msgid.link/20251203000411.30434-1-fujita.tomonori@gmail.com [ Use kernel vertical import style. - Danilo ] Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/device/devres.h')
0 files changed, 0 insertions, 0 deletions