rust: remove `params` from `module` macro example
authorAswin Unnikrishnan <aswinunni01@gmail.com>
Fri, 19 Apr 2024 21:50:13 +0000 (21:50 +0000)
committerMiguel Ojeda <ojeda@kernel.org>
Thu, 25 Apr 2024 15:34:33 +0000 (17:34 +0200)
commit19843452dca40e28d6d3f4793d998b681d505c7f
treed1758b94e8d6b35330c209d28177021df7a3144e
parentded103c7eb23753f22597afa500a7c1ad34116ba
rust: remove `params` from `module` macro example

Remove argument `params` from the `module` macro example, because the
macro does not currently support module parameters since it was not sent
with the initial merge.

Signed-off-by: Aswin Unnikrishnan <aswinunni01@gmail.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Cc: stable@vger.kernel.org
Fixes: 1fbde52bde73 ("rust: add `macros` crate")
Link: https://lore.kernel.org/r/20240419215015.157258-1-aswinunni01@gmail.com
[ Reworded slightly. ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/macros/lib.rs