Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a451405f authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: gpio-regulator: Staticize of_get_gpio_regulator_config()



of_get_gpio_regulator_config() is only used in gpio-regulator.c, make it static.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 655efa0f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ static struct regulator_ops gpio_regulator_voltage_ops = {
	.list_voltage = gpio_regulator_list_voltage,
};

struct gpio_regulator_config *
static struct gpio_regulator_config *
of_get_gpio_regulator_config(struct device *dev, struct device_node *np)
{
	struct gpio_regulator_config *config;