From: Felix Gu Date: Thu, 12 Mar 2026 14:30:31 +0000 (+0800) Subject: regulator: pf1550: Remove redundant regmap assignment X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e80c626ae06ed9c502ebda4a7e0b390af9ccf6b0;p=thirdparty%2Flinux.git 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 Reviewed-by: Frank Li Link: https://patch.msgid.link/20260312-1550-v1-1-5a84b886ccfe@gmail.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/pf1550-regulator.c b/drivers/regulator/pf1550-regulator.c index 037b8ec940660..1d17265284604 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;