summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-03-14 19:09:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-17 10:04:25 +0300
commit4d032779ab321baa1a430ff27791e5e0c98a0c2f (patch)
treed5746cee270a6caef6ad3e2d4de4cdc6752a20fb /scripts/lib/kdoc
parentd1f6d6c537d488b1a8f04091c7751124985a0ab9 (diff)
downloadlinux-4d032779ab321baa1a430ff27791e5e0c98a0c2f.tar.xz
rust: device: implement device context marker
Some bus device functions should only be called from bus callbacks, such as probe(), remove(), resume(), suspend(), etc. To ensure this add device context marker structs, that can be used as generics for bus device implementations. Reviewed-by: Benno Lossin <benno.lossin@proton.me> Suggested-by: Benno Lossin <benno.lossin@proton.me> Signed-off-by: Danilo Krummrich <dakr@kernel.org> Acked-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/r/20250314160932.100165-3-dakr@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions