Skip to content

Commit 0e22879

Browse files
reboot-requiredlag-linaro
authored andcommitted
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>
1 parent fd93fc3 commit 0e22879

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/blink/leds-lgm-sso.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define LED_BLINK_H8_0 0x0
2626
#define LED_BLINK_H8_1 0x4
2727
#define GET_FREQ_OFFSET(pin, src) (((pin) * 6) + ((src) * 2))
28-
#define GET_SRC_OFFSET(pinc) (((pin) * 6) + 4)
28+
#define GET_SRC_OFFSET(pin) (((pin) * 6) + 4)
2929

3030
#define DUTY_CYCLE(x) (0x8 + ((x) * 4))
3131
#define SSO_CON0 0x2B0

0 commit comments

Comments
 (0)