regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Apr 2013 17:25:38 +0000 (01:25 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 16 Apr 2013 11:22:06 +0000 (12:22 +0100)
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>
drivers/regulator/rc5t583-regulator.c

index 9e6f786..5885b45 100644 (file)
@@ -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;