diff options
author | Axel Lin | 2019-03-10 23:06:09 +0800 |
---|---|---|
committer | Mark Brown | 2019-03-11 16:36:04 +0000 |
commit | 74b060d6845f09a5b2db6df653a3c0e90d4fa560 (patch) | |
tree | 9adf20a19689f2bfb567d61684d36f4c6d67d84c /include/linux/mfd | |
parent | 88f268a5bcc3b0683e6fbaf9973702e5329fc1e3 (diff) |
regulator: palmas: Remove *rdev[PALMAS_NUM_REGS] from struct palmas_pmic
This driver is using devm_regulator_register() so it is not necessary
to save *rdev for clean up. Actually the pmic->rdev[id] is not used now.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/palmas.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 75e5c8ff85fc..c34d5f0d34d7 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -553,7 +553,6 @@ struct palmas_pmic { struct palmas *palmas; struct device *dev; struct regulator_desc desc[PALMAS_NUM_REGS]; - struct regulator_dev *rdev[PALMAS_NUM_REGS]; struct mutex mutex; int smps123; |