summaryrefslogtreecommitdiff
path: root/drivers/regulator/dbx500-prcmu.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2019-04-12 09:54:21 +0800
committerMark Brown <broonie@kernel.org>2019-04-12 09:51:10 +0100
commit2564002abcde7e655bd0bab7f5f3a592ca586e58 (patch)
tree6fdc5249743f25ff08428a8d7ca437642af7bbda /drivers/regulator/dbx500-prcmu.h
parent92722a8fac5349fa2f249dcb366c6083d193922f (diff)
regulator: dbx500-prcmu: Remove unused fields from struct dbx500_regulator_info
The *dev is assigned but not used, remove it. Current driver is using devm_regulator_register(), so no neeed to save *rdev for clean up. Use a local variable instead. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/dbx500-prcmu.h')
-rw-r--r--drivers/regulator/dbx500-prcmu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/dbx500-prcmu.h b/drivers/regulator/dbx500-prcmu.h
index c8e51ace9f06..6e20dab611ac 100644
--- a/drivers/regulator/dbx500-prcmu.h
+++ b/drivers/regulator/dbx500-prcmu.h
@@ -15,18 +15,14 @@
/**
* struct dbx500_regulator_info - dbx500 regulator information
- * @dev: device pointer
* @desc: regulator description
- * @rdev: regulator device pointer
* @is_enabled: status of the regulator
* @epod_id: id for EPOD (power domain)
* @is_ramret: RAM retention switch for EPOD (power domain)
*
*/
struct dbx500_regulator_info {
- struct device *dev;
struct regulator_desc desc;
- struct regulator_dev *rdev;
bool is_enabled;
u16 epod_id;
bool is_ramret;