Commit abea1bb0 authored by Maarten ter Huurne's avatar Maarten ter Huurne Committed by Mark Brown

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: default avatarMaarten ter Huurne <maarten@treewalker.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 92e963f5
...@@ -415,7 +415,7 @@ static void act8865_power_off(void) ...@@ -415,7 +415,7 @@ static void act8865_power_off(void)
static int act8865_pmic_probe(struct i2c_client *client, static int act8865_pmic_probe(struct i2c_client *client,
const struct i2c_device_id *i2c_id) const struct i2c_device_id *i2c_id)
{ {
static const struct regulator_desc *regulators; const struct regulator_desc *regulators;
struct act8865_platform_data pdata_of, *pdata; struct act8865_platform_data pdata_of, *pdata;
struct device *dev = &client->dev; struct device *dev = &client->dev;
struct device_node **of_node; struct device_node **of_node;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment