* [PATCH] leds: lgm-sso: Remove duplicate assignments for priv->mmap
@ 2026-02-26 3:30 Chen Ni
2026-02-27 19:09 ` Markus Elfring
2026-03-06 13:43 ` (subset) " Lee Jones
0 siblings, 2 replies; 3+ messages in thread
From: Chen Ni @ 2026-02-26 3:30 UTC (permalink / raw)
To: pavel
Cc: lee, brgl, linusw, andy.shevchenko, linux-leds, linux-kernel, Chen Ni
Remove duplicate assignments for priv->mmap in intel_sso_led_probe().
Fixes: fba8a6f2263b ("leds: lgm-sso: Fix clock handling")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
drivers/leds/blink/leds-lgm-sso.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/leds/blink/leds-lgm-sso.c b/drivers/leds/blink/leds-lgm-sso.c
index 8923d2df4704..3d9ef9a54805 100644
--- a/drivers/leds/blink/leds-lgm-sso.c
+++ b/drivers/leds/blink/leds-lgm-sso.c
@@ -808,8 +808,6 @@ static int intel_sso_led_probe(struct platform_device *pdev)
priv->fpid_clkrate = clk_get_rate(priv->clocks[1].clk);
- priv->mmap = syscon_node_to_regmap(dev->of_node);
-
priv->mmap = syscon_node_to_regmap(dev->of_node);
if (IS_ERR(priv->mmap)) {
dev_err(dev, "Failed to map iomem!\n");
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] leds: lgm-sso: Remove duplicate assignments for priv->mmap
2026-02-26 3:30 [PATCH] leds: lgm-sso: Remove duplicate assignments for priv->mmap Chen Ni
@ 2026-02-27 19:09 ` Markus Elfring
2026-03-06 13:43 ` (subset) " Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Markus Elfring @ 2026-02-27 19:09 UTC (permalink / raw)
To: Chen Ni, linux-leds, Pavel Machek
Cc: LKML, Andy Shevchenko, Bartosz Golaszewski, Lee Jones, Linus Walleij
> Remove duplicate assignments for priv->mmap in intel_sso_led_probe().
assignment?
See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.0-rc1#n34
Regards,
Markus
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: (subset) [PATCH] leds: lgm-sso: Remove duplicate assignments for priv->mmap
2026-02-26 3:30 [PATCH] leds: lgm-sso: Remove duplicate assignments for priv->mmap Chen Ni
2026-02-27 19:09 ` Markus Elfring
@ 2026-03-06 13:43 ` Lee Jones
1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2026-03-06 13:43 UTC (permalink / raw)
To: pavel, Chen Ni
Cc: lee, brgl, linusw, andy.shevchenko, linux-leds, linux-kernel
On Thu, 26 Feb 2026 11:30:48 +0800, Chen Ni wrote:
> Remove duplicate assignments for priv->mmap in intel_sso_led_probe().
>
>
Applied, thanks!
[1/1] leds: lgm-sso: Remove duplicate assignments for priv->mmap
commit: 23b10d1c20f340b11fbd37187a2bb292de0d2a34
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-06 13:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-26 3:30 [PATCH] leds: lgm-sso: Remove duplicate assignments for priv->mmap Chen Ni
2026-02-27 19:09 ` Markus Elfring
2026-03-06 13:43 ` (subset) " Lee Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®