Skip to content

Commit e98d5fe

Browse files
AxelLinbroonie
authored andcommitted
regulator: tps6507x: Drop pointless static qualifier for *reg_data variable
There is no need to use static for this local variable. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 1001354 commit e98d5fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/tps6507x-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ static struct tps6507x_board *tps6507x_parse_dt_reg_data(
375375
struct device_node *np = pdev->dev.parent->of_node;
376376
struct device_node *regulators;
377377
struct of_regulator_match *matches;
378-
static struct regulator_init_data *reg_data;
378+
struct regulator_init_data *reg_data;
379379
int idx = 0, count, ret;
380380

381381
tps_board = devm_kzalloc(&pdev->dev, sizeof(*tps_board),

0 commit comments

Comments
 (0)