diff options
| author | Gary Guo <gary@garyguo.net> | 2026-09-10 18:05:42 +0100 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-10-01 22:51:35 +0200 |
| commit | dd47e7d8672b64ae8680f8abefbe4b5c55895cda (patch) | |
| tree | 19e9bdfdc9149f1eeb49c200e2b59758e5cfb299 /tools/lib/python/kdoc | |
| parent | cd56a1c858ff34cc8b71674a6bdf2f7a899abf67 (diff) | |
| download | linux-next-dd47e7d8672b64ae8680f8abefbe4b5c55895cda.tar.gz linux-next-dd47e7d8672b64ae8680f8abefbe4b5c55895cda.zip | |
rust: bitfield: remove unnecessary `#[allow]`
The `#[allow(non_camel_case_types)]` was there because register names can
be commonly SCREAMING_CASE and thus not CamelCase. However, when a bitfield
type is created by itself, this justification does not apply. Thus, remove
it.
Users that want to use non-standard styles can add the `#[allow]`
themselves. For example, the invocation of `bitfield!` inside `register!`
macro carry this annotation.
Signed-off-by: Gary Guo <gary@garyguo.net>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260910170542.92010-1-gary@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
