* [PATCH] regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info
@ 2013-04-12 17:25 Axel Lin
2013-04-16 11:22 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2013-04-12 17:25 UTC (permalink / raw)
To: Mark Brown; +Cc: Laxman dewangan, Liam Girdwood, linux-kernel
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>
---
drivers/regulator/rc5t583-regulator.c | 6 ------
1 file changed, 6 deletions(-)
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;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info
2013-04-12 17:25 [PATCH] regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info Axel Lin
@ 2013-04-16 11:22 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-04-16 11:22 UTC (permalink / raw)
To: Axel Lin; +Cc: Laxman dewangan, Liam Girdwood, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
On Sat, Apr 13, 2013 at 01:25:38AM +0800, Axel Lin wrote:
> The *dev and *mfd of struct rc5t583_regulator_info are not used after convert
> to use regmap, remove them.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-04-16 11:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-12 17:25 [PATCH] regulator: rc5t583: Remove unused fields from struct rc5t583_regulator_info Axel Lin
2013-04-16 11:22 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox