Re: [PATCH] regulator: giving regulator controlling gpios a non-empty label when used through the devicetree

From: Mark Brown
Date: Mon Mar 05 2018 - 10:40:56 EST


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->supply_name;
> if (proplen > 0) {
> of_property_read_u32_index(np, "gpios-states",
> i, &ret);
> --
> 2.7.4

This patch is completely mangled, please see Documentation/SubmittingPatches
- it looks like tabs have been converted into single spaces and there's
some word wrapping going on.

Attachment: signature.asc
Description: PGP signature