regulator: tps65023: Remove unused client field from struct tps_pmic
authorAxel Lin <axel.lin@gmail.com>
Wed, 28 Mar 2012 02:07:40 +0000 (10:07 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:59:35 +0000 (11:59 +0100)
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>
drivers/regulator/tps65023-regulator.c

index 08b3b41270a8189a813149531dc544652dc20a60..5c9a9001f81680649a15b1923534c9c8449e6b37 100644 (file)
@@ -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;
@@ -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++) {
This page took 0.02654 seconds and 5 git commands to generate.