From: Axel Lin Date: Fri, 12 Apr 2013 17:25:38 +0000 (+0800) Subject: regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info X-Git-Tag: upstream/snapshot3+hdmi~5284^2~7^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcffe53fcb96efe326a909dece5f32e1dd8eaa6a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/rc5t583-regulator.c b/drivers/regulator/rc5t583-regulator.c index 9e6f786..5885b45 100644 --- a/drivers/regulator/rc5t583-regulator.c +++ b/drivers/regulator/rc5t583-regulator.c @@ -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;