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>
This commit is contained in:
Felix Gu
2026-03-12 22:30:31 +08:00
committed by Mark Brown
parent aa3d0c93a3
commit e80c626ae0

View File

@@ -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;