aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-11-10 06:52:44 -0500
committerMark Brown <broonie@kernel.org>2017-11-10 07:33:15 -0500
commit125b1192bd48544d9429e240c8f8e64d1533b2c1 (patch)
tree629f62e32425c739eceadfe4000c5b1dd190dca1
parentefeb88c68bd0dbd317c4d24a1b5b58c5e5bd68aa (diff)
regulator: tps65218: remove unused tps_info structure
remove unused tps_info structure. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--include/linux/mfd/tps65218.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h
index bccd2d68b1e3..f069c518c0ed 100644
--- a/include/linux/mfd/tps65218.h
+++ b/include/linux/mfd/tps65218.h
@@ -246,24 +246,6 @@ enum tps65218_irqs {
246}; 246};
247 247
248/** 248/**
249 * struct tps_info - packages regulator constraints
250 * @id: Id of the regulator
251 * @name: Voltage regulator name
252 * @min_uV: minimum micro volts
253 * @max_uV: minimum micro volts
254 * @strobe: sequencing strobe value for the regulator
255 *
256 * This data is used to check the regualtor voltage limits while setting.
257 */
258struct tps_info {
259 int id;
260 const char *name;
261 int min_uV;
262 int max_uV;
263 int strobe;
264};
265
266/**
267 * struct tps65218 - tps65218 sub-driver chip access routines 249 * struct tps65218 - tps65218 sub-driver chip access routines
268 * 250 *
269 * Device data may be used to access the TPS65218 chip 251 * Device data may be used to access the TPS65218 chip
@@ -280,7 +262,6 @@ struct tps65218 {
280 u32 irq_mask; 262 u32 irq_mask;
281 struct regmap_irq_chip_data *irq_data; 263 struct regmap_irq_chip_data *irq_data;
282 struct regulator_desc desc[TPS65218_NUM_REGULATOR]; 264 struct regulator_desc desc[TPS65218_NUM_REGULATOR];
283 struct tps_info *info[TPS65218_NUM_REGULATOR];
284 struct regmap *regmap; 265 struct regmap *regmap;
285 u8 *strobes; 266 u8 *strobes;
286}; 267};