public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: gpio-regulator: doc: correct default type
@ 2017-02-03 14:29 Hans Holmberg
  0 siblings, 0 replies; only message in thread
From: Hans Holmberg @ 2017-02-03 14:29 UTC (permalink / raw)
  To: Mark Brown; +Cc: Rob Herring, linux-kernel, Liam Girdwood

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

Signed-off-by: Hans Holmberg <hans@pixelmunchies.com>
---

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(-)

diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
index e5cac1e..dd1ed78 100644
--- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
@@ -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.
-- 
1.9.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-03 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-03 14:29 [PATCH] regulator: gpio-regulator: doc: correct default type Hans Holmberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox