summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorLukas Kraft <rebootrequired42@gmail.com>2026-03-12 22:09:52 +0100
committerLee Jones <lee@kernel.org>2026-03-25 13:42:00 +0000
commit0e2287999f0432b51a54c235db660789ca657f53 (patch)
treef543b0e1e6338e3777054e55120a2feef98becbb /drivers/leds
parentfd93fc35cf4cd5936bbf7876e3bdc2a5933c8fd1 (diff)
downloadlinux-next-0e2287999f0432b51a54c235db660789ca657f53.tar.gz
linux-next-0e2287999f0432b51a54c235db660789ca657f53.zip
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/blink/leds-lgm-sso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/blink/leds-lgm-sso.c b/drivers/leds/blink/leds-lgm-sso.c
index 3d9ef9a54805..0f27c68e2741 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