leds: lgm-sso: Fix typo in macro for src offset
PATCH 1/1 leds: lgm-sso: Fix typo in macro for src offset
Replace unused argument pinc with used argument pin.
Signed-off-by Lukas Kraft <[email protected]>
--- drivers/leds/blink/leds-lgm-sso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/blink/leds-lgm-sso.c +1 -1
@@ -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
Signature · 1 line
2.51.0
Re: (subset) [PATCH] leds: lgm-sso: Fix typo in macro for src offset
Quoted 1 line · Lukas Kraft
Replace unused argument pinc with used argument pin.
Applied, thanks!
[1/1] leds: lgm-sso: Fix typo in macro for src offset
commit: 0e2287999f0432b51a54c235db660789ca657f53
--
Lee Jones [李琼斯]