Skip to contentSkip to conversation

regulator: gpio-regulator: doc: correct default type

PATCH New Hans Holmberg 1 participant 1 message Feb 3, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 regulator: gpio-regulator: doc: correct default type

The driver defaults to voltage, not current, type so correct this in the device tree binding documentation.

---

See drivers/regulator/gpio-regulator.c:231
..and the example in the binding doc is voltage regulator without regulator-type specified.

 Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/regulator/gpio-regulator.txt +1 -1
index e5cac1e..dd1ed78 100644
@@ -13,7 +13,7 @@ Optional properties:
 - startup-delay-us	: Startup time in microseconds.
 - enable-active-high	: Polarity of GPIO is active high (default is low).
 - regulator-type	: Specifies what is being regulated, must be either
-			  "voltage" or "current", defaults to current.
+			  "voltage" or "current", defaults to voltage.
 
 Any property defined as part of the core regulator binding defined in
 regulator.txt can also be used.
Signature · 1 line
1.9.1