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>

authored by Aswin Unnikrishnan and committed by Miguel Ojeda 19843452 ded103c7

Changed files
-12
rust
macros
-12
rust/macros/lib.rs
··· 35 35 /// author: "Rust for Linux Contributors", 36 36 /// description: "My very own kernel module!", 37 37 /// license: "GPL", 38 - /// params: { 39 - /// my_i32: i32 { 40 - /// default: 42, 41 - /// permissions: 0o000, 42 - /// description: "Example of i32", 43 - /// }, 44 - /// writeable_i32: i32 { 45 - /// default: 42, 46 - /// permissions: 0o644, 47 - /// description: "Example of i32", 48 - /// }, 49 - /// }, 50 38 /// } 51 39 /// 52 40 /// struct MyModule;