projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ece704
)
regulator: max77802: Remove unused fields from struct max77802_regulator_prv
author
Axel Lin
<axel.lin@ingics.com>
Wed, 20 Aug 2014 02:04:17 +0000
(10:04 +0800)
committer
Mark Brown
<broonie@linaro.org>
Wed, 20 Aug 2014 15:21:41 +0000
(10:21 -0500)
Both num_regulators and *rdev[MAX77802_REG_MAX] are not used, remove them.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max77802.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max77802.c
b/drivers/regulator/max77802.c
index 5f022f859d4915a52333780eb81abb3692be6ff4..ad1caa902ef05f54ff24fbd4e302079d380ff40b 100644
(file)
--- a/
drivers/regulator/max77802.c
+++ b/
drivers/regulator/max77802.c
@@
-65,8
+65,6
@@
static unsigned int ramp_table_77802_4bit[] = {
};
struct max77802_regulator_prv {
- int num_regulators;
- struct regulator_dev *rdev[MAX77802_REG_MAX];
unsigned int opmode[MAX77802_REG_MAX];
};