Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

leds: lgm-sso: Remove duplicate assignments for priv->mmap

Remove duplicate assignment of priv->mmap in intel_sso_led_probe().

Fixes: fba8a6f2263b ("leds: lgm-sso: Fix clock handling")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20260226033048.3715915-1-nichen@iscas.ac.cn
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Chen Ni and committed by
Lee Jones
7186d033 d45963a9

-2
-2
drivers/leds/blink/leds-lgm-sso.c
··· 809 809 priv->fpid_clkrate = clk_get_rate(priv->clocks[1].clk); 810 810 811 811 priv->mmap = syscon_node_to_regmap(dev->of_node); 812 - 813 - priv->mmap = syscon_node_to_regmap(dev->of_node); 814 812 if (IS_ERR(priv->mmap)) { 815 813 dev_err(dev, "Failed to map iomem!\n"); 816 814 return PTR_ERR(priv->mmap);