When the label is empty, it causes missing information and limits diagnostics
for instances such as 'cat /sys/kernel/debug/gpio'
Setting the label to the regulator supply_name will point to the device
using the gpio(s).
Signed-off-by: Nicholas Lowell
---
drivers/regulator/gpio-regulator.c | 1 +
On Fri, Mar 02, 2018 at 11:20:49AM -0500, Nicholas Lowell wrote:
> +++ b/drivers/regulator/gpio-regulator.c
> @@ -196,6 +196,7 @@ of_get_gpio_regulator_config(struct device *dev, struct
> device_node *np,
> break;
> }
> config->gpios[i].gpio = gpio;
> + config->gpios[i].label = config->suppl
2 matches
Mail list logo