mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-05 03:44:03 +08:00
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>
This commit is contained in:
parent
41ef2d5678
commit
bcffe53fcb
@ -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 = ®s[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;
|
||||
|
Loading…
Reference in New Issue
Block a user