leds: lgm-sso: Fix typo in macro for src offset

Replace unused argument pinc with used argument pin.

Signed-off-by: Lukas Kraft <rebootrequired42@gmail.com>
Link: https://patch.msgid.link/20260312210958.48467-1-rebootrequired42@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
Lukas Kraft 2026-03-12 22:09:52 +01:00 committed by Lee Jones
parent fd93fc35cf
commit 0e2287999f

View File

@ -25,7 +25,7 @@
#define LED_BLINK_H8_0 0x0
#define LED_BLINK_H8_1 0x4
#define GET_FREQ_OFFSET(pin, src) (((pin) * 6) + ((src) * 2))
#define GET_SRC_OFFSET(pinc) (((pin) * 6) + 4)
#define GET_SRC_OFFSET(pin) (((pin) * 6) + 4)
#define DUTY_CYCLE(x) (0x8 + ((x) * 4))
#define SSO_CON0 0x2B0