diff options
| author | Manuel Fombuena <fombuena@outlook.com> | 2026-09-15 13:42:52 +0100 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-09-22 14:26:03 +0100 |
| commit | 7520fc78c52ea55c2c83d0ecc11ab2355a753b7f (patch) | |
| tree | 9cf9dbcfb1c626beebb5a6dc5e45b3bc35925097 /tools/lib/python/kdoc/python_version.py | |
| parent | 226f32543668960673596288a50191052dba3352 (diff) | |
leds: st1202: Spell out the phase-shift configuration bit
ST1202_CONFIG_REG_SHFT is abbreviated to the point of being unreadable
and, unlike the neighbouring PATS and PATSR bits, carries no comment
explaining what it controls.
Rename it to ST1202_CONFIG_REG_PHASE_SHIFT and document it in the same
style as the other configuration bits, retaining the datasheet name in
the comment so it remains searchable.
The longer name no longer fits the existing layout in
st1202_led_pattern_set(), where the continuation line was already 106
columns wide. Re-wrap that register write to match the layout
st1202_blink_set() uses for the same operation and drop the redundant
parentheses around the bit mask.
No functional change.
Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
Assisted-by: LLM
Link: https://patch.msgid.link/GV1PR08MB849716E21E082D3B93B5B683C5BA2@GV1PR08MB8497.eurprd08.prod.outlook.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
