summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorNaresh Solanki <naresh.solanki@9elements.com>2023-10-27 15:28:29 +0000
committerMark Brown <broonie@kernel.org>2023-10-27 17:37:37 +0100
commit804bf07a1f726d4fe391d21b24a68ffc2381ba89 (patch)
tree60579cae540ad3827a28e26ca602692f95d815ed /drivers/regulator
parentf5afdd13ed6c643c7243e685fe3cf5484b3fdfae (diff)
regulator (max5970): Remove duplicate line
Remove redundant/duplicate line. Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com> Link: https://lore.kernel.org/r/20231027152830.1269895-2-naresh.solanki@9elements.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max5970-regulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/regulator/max5970-regulator.c b/drivers/regulator/max5970-regulator.c
index 56cc56ae63b7..bc88a40a88d4 100644
--- a/drivers/regulator/max5970-regulator.c
+++ b/drivers/regulator/max5970-regulator.c
@@ -584,7 +584,6 @@ static int max597x_regulator_probe(struct platform_device *pdev)
else
return -ENODEV;
- i2c_set_clientdata(i2c, max597x);
num_switches = max597x->num_switches;
for (i = 0; i < num_switches; i++) {