summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-03-12 22:30:31 +0800
committerMark Brown <broonie@kernel.org>2026-03-12 16:31:57 +0000
commite80c626ae06ed9c502ebda4a7e0b390af9ccf6b0 (patch)
treeab0121373d373dcc8e3c87598ed89a31f761dd86
parentaa3d0c93a333182e887426366a4f3e5f06ee0d83 (diff)
regulator: pf1550: Remove redundant regmap assignment
The config.regmap is already correctly initialized using dev_get_regmap() on the parent device. Remove the redundant second assignment that was overwriting it with pf1550->regmap. Signed-off-by: Felix Gu <ustc.gu@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260312-1550-v1-1-5a84b886ccfe@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/regulator/pf1550-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/pf1550-regulator.c b/drivers/regulator/pf1550-regulator.c
index 037b8ec94066..1d1726528460 100644
--- a/drivers/regulator/pf1550-regulator.c
+++ b/drivers/regulator/pf1550-regulator.c
@@ -360,7 +360,6 @@ static int pf1550_regulator_probe(struct platform_device *pdev)
"failed to get parent regmap\n");
config.dev = pf1550->dev;
- config.regmap = pf1550->regmap;
info->dev = &pdev->dev;
info->pf1550 = pf1550;