Skip to contentSkip to conversation

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

PATCH Applied Lukas Kraft 2 participants 2 messages Mar 12 – Mar 25 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: lgm-sso: Fix typo in macro for src offset

Replace unused argument pinc with used argument pin.

---
 drivers/leds/blink/leds-lgm-sso.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/blink/leds-lgm-sso.c +1 -1
index 8923d2df4704..99cfb8c1bb3f 100644
@@ -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
maintainer Applied
#1 lore raw

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 [李琼斯]