Messages in this thread Patch in this message | | | From | Krzysztof Kozlowski <> | Subject | [PATCH 8/8] regulator: max8973: Remove unused field from 'struct max8973_chip' | Date | Mon, 10 Mar 2014 09:32:51 +0100 |
| |
The 'struct regulator_dev *rdev' of 'struct max8973_chip' isn't used anywhere in the driver so it can be removed safely.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> --- drivers/regulator/max8973-regulator.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c index 892aa1e5b96c..552fb6d1850c 100644 --- a/drivers/regulator/max8973-regulator.c +++ b/drivers/regulator/max8973-regulator.c @@ -93,7 +93,6 @@ struct max8973_chip { struct device *dev; struct regulator_desc desc; - struct regulator_dev *rdev; struct regmap *regmap; bool enable_external_control; int dvs_gpio; @@ -474,7 +473,6 @@ static int max8973_probe(struct i2c_client *client, return ret; } - max->rdev = rdev; return 0; } -- 1.7.9.5
| |