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

Commit 5676ddc5 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

regulator: gpio: print warning if gpios <-> gpios-states mismatch on DT

parent 0094050d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ of_get_gpio_regulator_config(struct device *dev, struct device_node *np)
	if (prop) {
		proplen = prop->length / sizeof(int);
		if (proplen != config->nr_gpios) {
			/* gpios <-> gpios-states mismatch */
			dev_warn(dev, "gpios <-> gpios-states mismatch\n");
			prop = NULL;
		}
	}