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

regulator: tps80031: Remove unused *rdev from struct tps80031_regulator

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
de110f38 6cdae817

-2
-2
drivers/regulator/tps80031-regulator.c
··· 85 85 86 86 struct tps80031_regulator { 87 87 struct device *dev; 88 - struct regulator_dev *rdev; 89 88 struct tps80031_regulator_info *rinfo; 90 89 91 90 u8 device_flags; ··· 735 736 ri->rinfo->desc.name); 736 737 return PTR_ERR(rdev); 737 738 } 738 - ri->rdev = rdev; 739 739 } 740 740 741 741 platform_set_drvdata(pdev, pmic);