diff options
| author | Zhi Wang <zhiw@nvidia.com> | 2026-01-21 22:22:09 +0200 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-01-23 21:21:39 +0100 |
| commit | 5981d03c27a14df1c03e10570eeb1ab26e9709f7 (patch) | |
| tree | e41bdab20ae5f8e7e03de69f8e3b97cf2967ed73 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 121d87b28e1d9061d3aaa156c43a627d3cb5e620 (diff) | |
rust: io: factor out MMIO read/write macros
Refactor the existing MMIO accessors to use common call macros
instead of inlining the bindings calls in each `define_{read,write}!`
expansion.
This factoring separates the common offset/bounds checks from the
low-level call pattern, making it easier to add additional I/O accessor
families.
No functional change intended.
Cc: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260121202212.4438-4-zhiw@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
