Unverified Commit e80c626a authored by Felix Gu's avatar Felix Gu Committed by Mark Brown
Browse files

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: default avatarFelix Gu <ustc.gu@gmail.com>
Reviewed-by: default avatarFrank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260312-1550-v1-1-5a84b886ccfe@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent aa3d0c93
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;