projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21024de
)
regulator: max8973: Remove unused field from 'struct max8973_chip'
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Mon, 10 Mar 2014 08:32:51 +0000
(09:32 +0100)
committer
Mark Brown
<broonie@linaro.org>
Mon, 10 Mar 2014 09:36:42 +0000
(09:36 +0000)
The 'struct regulator_dev *rdev' of 'struct max8973_chip' isn't used
anywhere in the driver so it can be removed safely.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8973-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/max8973-regulator.c
b/drivers/regulator/max8973-regulator.c
index 79f57fef0038057a1da01f1f2ab155ed35b9aa3d..dbedf1768db0268f4f07f168bb89eb36f0c74429 100644
(file)
--- a/
drivers/regulator/max8973-regulator.c
+++ b/
drivers/regulator/max8973-regulator.c
@@
-93,7
+93,6
@@
struct max8973_chip {
struct device *dev;
struct regulator_desc desc;
- struct regulator_dev *rdev;
struct regmap *regmap;
bool enable_external_control;
int dvs_gpio;
@@
-472,7
+471,6
@@
static int max8973_probe(struct i2c_client *client,
return ret;
}
- max->rdev = rdev;
return 0;
}