Skip to content

Commit 7186d03

Browse files
Chen Nilag-linaro
authored andcommitted
leds: lgm-sso: Remove duplicate assignments for priv->mmap
Remove duplicate assignment of priv->mmap in intel_sso_led_probe(). Fixes: fba8a6f ("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>
1 parent d45963a commit 7186d03

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/leds/blink/leds-lgm-sso.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,8 +808,6 @@ static int intel_sso_led_probe(struct platform_device *pdev)
808808

809809
priv->fpid_clkrate = clk_get_rate(priv->clocks[1].clk);
810810

811-
priv->mmap = syscon_node_to_regmap(dev->of_node);
812-
813811
priv->mmap = syscon_node_to_regmap(dev->of_node);
814812
if (IS_ERR(priv->mmap)) {
815813
dev_err(dev, "Failed to map iomem!\n");

0 commit comments

Comments
 (0)