diff options
author | Maarten ter Huurne <maarten@treewalker.org> | 2016-02-28 10:53:25 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-29 06:33:44 -0500 |
commit | abea1bb08c1016d06bf21d1e5a56f10b31f0c60f (patch) | |
tree | 26385bf6e0a68c08ffe1951a909191e8b28322a2 | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
regulator: act8865: Remove "static" from local variable
There is no need to preserve its value between calls. I guess this
was a copy-paste slip-up.
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/regulator/act8865-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index f8d4cd3d1397..984c30fa9516 100644 --- a/drivers/regulator/act8865-regulator.c +++ b/drivers/regulator/act8865-regulator.c | |||
@@ -415,7 +415,7 @@ static void act8865_power_off(void) | |||
415 | static int act8865_pmic_probe(struct i2c_client *client, | 415 | static int act8865_pmic_probe(struct i2c_client *client, |
416 | const struct i2c_device_id *i2c_id) | 416 | const struct i2c_device_id *i2c_id) |
417 | { | 417 | { |
418 | static const struct regulator_desc *regulators; | 418 | const struct regulator_desc *regulators; |
419 | struct act8865_platform_data pdata_of, *pdata; | 419 | struct act8865_platform_data pdata_of, *pdata; |
420 | struct device *dev = &client->dev; | 420 | struct device *dev = &client->dev; |
421 | struct device_node **of_node; | 421 | struct device_node **of_node; |