Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit de110f38 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: tps80031: Remove unused *rdev from struct tps80031_regulator



The ri-rdev is assigend but not used, so remove it.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6cdae817
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -85,7 +85,6 @@ struct tps80031_regulator_info {

struct tps80031_regulator {
	struct device			*dev;
	struct regulator_dev		*rdev;
	struct tps80031_regulator_info	*rinfo;

	u8				device_flags;
@@ -736,7 +735,6 @@ static int tps80031_regulator_probe(struct platform_device *pdev)
					ri->rinfo->desc.name);
			return PTR_ERR(rdev);
		}
		ri->rdev = rdev;
	}

	platform_set_drvdata(pdev, pmic);