mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
leds: lgm-sso: Remove duplicate assignments for priv->mmap
[ Upstream commit7186d0330c] Remove duplicate assignment of priv->mmap in intel_sso_led_probe(). Fixes:fba8a6f226("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bc7998e70f
commit
61599d438e
@@ -806,8 +806,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");
|
||||
|
||||
Reference in New Issue
Block a user