projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cdae81
)
regulator: tps80031: Remove unused *rdev from struct tps80031_regulator
author
Axel Lin
<axel.lin@ingics.com>
Tue, 16 Apr 2019 10:17:27 +0000
(18:17 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 16 Apr 2019 16:30:25 +0000
(17:30 +0100)
The ri-rdev is assigend but not used, so remove it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/tps80031-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/tps80031-regulator.c
b/drivers/regulator/tps80031-regulator.c
index 1001147404c38ecbc091e618111bb06f9352ba29..d97cd55b6850bde38fb3070f783a873d4362c7a9 100644
(file)
--- a/
drivers/regulator/tps80031-regulator.c
+++ b/
drivers/regulator/tps80031-regulator.c
@@
-85,7
+85,6
@@
struct tps80031_regulator_info {
struct tps80031_regulator {
struct device *dev;
- struct regulator_dev *rdev;
struct tps80031_regulator_info *rinfo;
u8 device_flags;
@@
-736,7
+735,6
@@
static int tps80031_regulator_probe(struct platform_device *pdev)
ri->rinfo->desc.name);
return PTR_ERR(rdev);
}
- ri->rdev = rdev;
}
platform_set_drvdata(pdev, pmic);