Skip to content

Commit

Permalink
regulator: tps65023: Remove unused client field from struct tps_pmic
Browse files Browse the repository at this point in the history
The client field of struct tps_pmic is not used after converting to regmap API.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Apr 1, 2012
1 parent c60f171 commit 36a2afd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/regulator/tps65023-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ struct tps_info {
/* PMIC details */
struct tps_pmic {
struct regulator_desc desc[TPS65023_NUM_REGULATOR];
struct i2c_client *client;
struct regulator_dev *rdev[TPS65023_NUM_REGULATOR];
const struct tps_info *info[TPS65023_NUM_REGULATOR];
struct regmap *regmap;
Expand Down Expand Up @@ -407,7 +406,6 @@ static int __devinit tps_65023_probe(struct i2c_client *client,
}

/* common for all regulators */
tps->client = client;
tps->core_regulator = drv_data->core_regulator;

for (i = 0; i < TPS65023_NUM_REGULATOR; i++, info++, init_data++) {
Expand Down

0 comments on commit 36a2afd

Please sign in to comment.