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

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

regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info



The *dev and *mfd of struct rc5t583_regulator_info are not used after convert
to use regmap, remove them.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 41ef2d56
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -49,10 +49,6 @@ struct rc5t583_regulator_info {

struct rc5t583_regulator {
	struct rc5t583_regulator_info *reg_info;

	/* Devices */
	struct device		*dev;
	struct rc5t583		*mfd;
	struct regulator_dev	*rdev;
};

@@ -155,8 +151,6 @@ static int rc5t583_regulator_probe(struct platform_device *pdev)
		reg = &regs[id];
		ri = &rc5t583_reg_info[id];
		reg->reg_info = ri;
		reg->mfd = rc5t583;
		reg->dev = &pdev->dev;

		if (ri->deepsleep_id == RC5T583_DS_NONE)
			goto skip_ext_pwr_config;