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

From: Lukas Kraft

Date: Thu Mar 12 2026 - 17:13:54 EST


Replace unused argument pinc with used argument pin.

Signed-off-by: Lukas Kraft <rebootrequired42@xxxxxxxxx>
---
drivers/leds/blink/leds-lgm-sso.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/blink/leds-lgm-sso.c b/drivers/leds/blink/leds-lgm-sso.c
index 8923d2df4704..99cfb8c1bb3f 100644
--- a/drivers/leds/blink/leds-lgm-sso.c
+++ b/drivers/leds/blink/leds-lgm-sso.c
@@ -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
--
2.51.0