mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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:
parent
fd93fc35cf
commit
0e2287999f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user