* [PATCH 1/2] regulator: lp8788-ldo: Remove *desc and *regulator from struct lp8788_ldo
@ 2019-01-30 13:04 Axel Lin
2019-01-30 13:04 ` [PATCH 2/2] regulator: lp8788-buck: Remove *regulator from struct lp8788_buck Axel Lin
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2019-01-30 13:04 UTC (permalink / raw)
To: Mark Brown; +Cc: Milo Kim, Liam Girdwood, linux-kernel, Axel Lin
They are not used at all, remove them.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/lp8788-ldo.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/regulator/lp8788-ldo.c b/drivers/regulator/lp8788-ldo.c
index a2ef146e6b3a..172b5f9355dd 100644
--- a/drivers/regulator/lp8788-ldo.c
+++ b/drivers/regulator/lp8788-ldo.c
@@ -113,8 +113,6 @@ enum lp8788_ldo_id {
struct lp8788_ldo {
struct lp8788 *lp;
- struct regulator_desc *desc;
- struct regulator_dev *regulator;
struct gpio_desc *ena_gpiod;
};
@@ -558,7 +556,6 @@ static int lp8788_dldo_probe(struct platform_device *pdev)
return ret;
}
- ldo->regulator = rdev;
platform_set_drvdata(pdev, ldo);
return 0;
@@ -605,7 +602,6 @@ static int lp8788_aldo_probe(struct platform_device *pdev)
return ret;
}
- ldo->regulator = rdev;
platform_set_drvdata(pdev, ldo);
return 0;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] regulator: lp8788-buck: Remove *regulator from struct lp8788_buck
2019-01-30 13:04 [PATCH 1/2] regulator: lp8788-ldo: Remove *desc and *regulator from struct lp8788_ldo Axel Lin
@ 2019-01-30 13:04 ` Axel Lin
0 siblings, 0 replies; 2+ messages in thread
From: Axel Lin @ 2019-01-30 13:04 UTC (permalink / raw)
To: Mark Brown; +Cc: Milo Kim, Liam Girdwood, linux-kernel, Axel Lin
It is not used at all, remove it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/lp8788-buck.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/regulator/lp8788-buck.c b/drivers/regulator/lp8788-buck.c
index 30de784d8e30..f84167688e5e 100644
--- a/drivers/regulator/lp8788-buck.c
+++ b/drivers/regulator/lp8788-buck.c
@@ -91,7 +91,6 @@ enum lp8788_buck_id {
struct lp8788_buck {
struct lp8788 *lp;
- struct regulator_dev *regulator;
void *dvs;
};
@@ -523,7 +522,6 @@ static int lp8788_buck_probe(struct platform_device *pdev)
return ret;
}
- buck->regulator = rdev;
platform_set_drvdata(pdev, buck);
return 0;
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-30 13:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 13:04 [PATCH 1/2] regulator: lp8788-ldo: Remove *desc and *regulator from struct lp8788_ldo Axel Lin
2019-01-30 13:04 ` [PATCH 2/2] regulator: lp8788-buck: Remove *regulator from struct lp8788_buck Axel Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).