summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2026-03-15 20:42:19 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-18 05:05:12 +0300
commitf327f5a8115e80d954598cf2d5c461873042b7f6 (patch)
tree23cac2cf31bde9cda9cc45ee2fec280a045929f4 /include/linux
parentbb8539e0e60916ef3ed4a92eb2f3cfd8e34061ef (diff)
downloadlinux-f327f5a8115e80d954598cf2d5c461873042b7f6.tar.xz
dpll: zl3073x: use struct_group to partition states
Organize the zl3073x_out, zl3073x_ref, and zl3073x_synth structures using struct_group() to partition fields into semantic groups: * cfg: mutable configuration written to HW via state_set * inv: invariant fields set once during state_fetch * stat: read-only status This enables group-level operations in place of field-by-field copies: * state_set validates invariants haven't changed (WARN_ON + -EINVAL) * state_set short-circuits when cfg is unchanged * state_set copy entire groups in a single assignment instead of enumerating each field Add kernel doc for zl3073x_out_state_set and zl3073x_ref_state_set documenting the new invariant validation and short-circuit semantics. Remove forward declaration of zl3073x_synth_state_set(). Signed-off-by: Ivan Vecera <ivecera@redhat.com> Link: https://patch.msgid.link/20260315174224.399074-2-ivecera@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions