summaryrefslogtreecommitdiff
path: root/drivers/regulator/db8500-prcmu.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2021-06-30 10:42:46 +0300
committerMark Brown <broonie@kernel.org>2021-06-30 15:49:32 +0300
commit5db5dd5be70eaf808d9fd90174b957fc5c2912cb (patch)
treeaa7d4f6809eace3a4441e4bf059344760acf883a /drivers/regulator/db8500-prcmu.c
parent6549c46af8551b346bcc0b9043f93848319acd5c (diff)
downloadlinux-5db5dd5be70eaf808d9fd90174b957fc5c2912cb.tar.xz
regulator: hi6421v600: Fix getting wrong drvdata that causes boot failure
Since config.dev = pdev->dev.parent in current code, so dev_get_drvdata(rdev->dev.parent) actually returns the drvdata of the mfd device rather than the regulator. Fix it. Fixes: 9bc146acc331 ("regulator: hi6421v600: Fix setting wrong driver_data") Reported-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Axel Lin <axel.lin@ingics.com> Tested-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/20210630074246.2305166-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions