Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

authored by

Axel Lin and committed by
Mark Brown
bcffe53f 41ef2d56

-6
-6
drivers/regulator/rc5t583-regulator.c
··· 49 49 50 50 struct rc5t583_regulator { 51 51 struct rc5t583_regulator_info *reg_info; 52 - 53 - /* Devices */ 54 - struct device *dev; 55 - struct rc5t583 *mfd; 56 52 struct regulator_dev *rdev; 57 53 }; 58 54 ··· 151 155 reg = &regs[id]; 152 156 ri = &rc5t583_reg_info[id]; 153 157 reg->reg_info = ri; 154 - reg->mfd = rc5t583; 155 - reg->dev = &pdev->dev; 156 158 157 159 if (ri->deepsleep_id == RC5T583_DS_NONE) 158 160 goto skip_ext_pwr_config;