]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: driver: update module documentation for GAT-based Data type
authorDanilo Krummrich <dakr@kernel.org>
Mon, 25 May 2026 20:21:04 +0000 (22:21 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Wed, 27 May 2026 14:24:15 +0000 (16:24 +0200)
commitd31a349a7fd88c4cc7ba85bce6491c398408997a
treea6396edb3fb3c05ed10b3850cf9af1ac5f809c82
parent71e6b6a80b5158323be56e0a776e9fa3cc77d061
rust: driver: update module documentation for GAT-based Data type

Now that all bus driver traits use type Data<'bound>: 'bound, update the
illustrative driver trait in the module documentation to reflect the GAT
pattern and lifetime-parameterized callbacks.

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260525202921.124698-18-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/driver.rs