rust: io: avoid mentioning private fields in `IoMem`
authorSai Vishnu M <saivishnu725@gmail.com>
Mon, 2 Jun 2025 16:49:24 +0000 (22:19 +0530)
committerMiguel Ojeda <ojeda@kernel.org>
Mon, 23 Jun 2025 23:02:30 +0000 (01:02 +0200)
commit0303584766b7bdb6564c7e8f13e0b59b6ef44984
treee0839d90ad666491f9c2bec2e0f3bd566f8b4dd3
parentb6985083be1deb1f5fa14d160265f57d9ccb42a1
rust: io: avoid mentioning private fields in `IoMem`

Removed reference to internal variables in the comment of `IoMem`
This avoids using private variable names in public documentation.

Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1167
Signed-off-by: Sai Vishnu M <saivishnu725@gmail.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://lore.kernel.org/r/20250602164923.48893-2-saivishnu725@gmail.com
[ Reworded title and adjusted tags. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
rust/kernel/io.rs