mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
regulator: lp87565: Fix missing register for LP87565_BUCK_0
[ Upstream commitd1a6cbdf1e] LP87565_BUCK_0 is missed, fix it. Fixes:f0168a9bf("regulator: lp87565: Add support for lp87565 PMIC regulators") Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
013cfff98d
commit
90a2e64c43
|
|
@ -193,7 +193,7 @@ static int lp87565_regulator_probe(struct platform_device *pdev)
|
|||
struct lp87565 *lp87565 = dev_get_drvdata(pdev->dev.parent);
|
||||
struct regulator_config config = { };
|
||||
struct regulator_dev *rdev;
|
||||
int i, min_idx = LP87565_BUCK_1, max_idx = LP87565_BUCK_3;
|
||||
int i, min_idx = LP87565_BUCK_0, max_idx = LP87565_BUCK_3;
|
||||
|
||||
platform_set_drvdata(pdev, lp87565);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user