Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
e98d5fef 1001354c

+1 -1
+1 -1
drivers/regulator/tps6507x-regulator.c
··· 375 375 struct device_node *np = pdev->dev.parent->of_node; 376 376 struct device_node *regulators; 377 377 struct of_regulator_match *matches; 378 - static struct regulator_init_data *reg_data; 378 + struct regulator_init_data *reg_data; 379 379 int idx = 0, count, ret; 380 380 381 381 tps_board = devm_kzalloc(&pdev->dev, sizeof(*tps_board),