]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: pf1550: Remove redundant regmap assignment
authorFelix Gu <ustc.gu@gmail.com>
Thu, 12 Mar 2026 14:30:31 +0000 (22:30 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 12 Mar 2026 16:31:57 +0000 (16:31 +0000)
commite80c626ae06ed9c502ebda4a7e0b390af9ccf6b0
treeab0121373d373dcc8e3c87598ed89a31f761dd86
parentaa3d0c93a333182e887426366a4f3e5f06ee0d83
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>
drivers/regulator/pf1550-regulator.c