diff options
| author | Manuel Fombuena <fombuena@outlook.com> | 2026-09-15 13:43:17 +0100 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-09-22 14:26:03 +0100 |
| commit | 0aed225f40613253617ad30a57492043a3448938 (patch) | |
| tree | ffb2e10e7bd88ff6abe0f0a01c4ec70fcd5c9e91 /tools/lib/python/kdoc/python_version.py | |
| parent | 7520fc78c52ea55c2c83d0ecc11ab2355a753b7f (diff) | |
leds: st1202: Name pattern index variables consistently
The driver already names pattern indices "pattern" in the signatures of
st1202_pwm_pattern_write() and st1202_duration_pattern_write(), and
st1202_blink_set() follows the same convention. The remaining loops
abbreviate it to "patt", which matches nothing else in the file.
Rename those loop variables to "pattern". In st1202_led_pattern_set()
that name is taken by the array of pattern steps, so rename the
parameter to "patterns", which also reflects better that it is an array.
Two st1202_pwm_pattern_write() calls exceed 100 columns with the longer
name and are wrapped accordingly.
No functional change.
Signed-off-by: Manuel Fombuena <fombuena@outlook.com>
Assisted-by: LLM
Link: https://patch.msgid.link/GV1PR08MB8497AD614B8686BBDA654674C5BA2@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
