public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: Fix regulator_register() API signature
@ 2011-12-05  7:17 Rajendra Nayak
  2011-12-05 16:23 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Rajendra Nayak @ 2011-12-05  7:17 UTC (permalink / raw)
  To: linux-kernel, linux-doc, broonie; +Cc: rdunlap, thomas.abraham, Rajendra Nayak

The commit 2c043bcbf287 ("regulator: pass additional of_node to
regulator_register()") added an additional parameter to the
regulator_register() API.
Update the Documentation accordingly to reflect the change
in the function signature.

Reported-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
---
 Documentation/power/regulator/regulator.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/power/regulator/regulator.txt b/Documentation/power/regulator/regulator.txt
index 3f8b528..e272d99 100644
--- a/Documentation/power/regulator/regulator.txt
+++ b/Documentation/power/regulator/regulator.txt
@@ -12,7 +12,7 @@ Drivers can register a regulator by calling :-
 
 struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc,
 	struct device *dev, struct regulator_init_data *init_data,
-	void *driver_data);
+	void *driver_data, struct device_node *of_node);
 
 This will register the regulators capabilities and operations to the regulator
 core.
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: Fix regulator_register() API signature
  2011-12-05  7:17 [PATCH] Documentation: Fix regulator_register() API signature Rajendra Nayak
@ 2011-12-05 16:23 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-12-05 16:23 UTC (permalink / raw)
  To: Rajendra Nayak; +Cc: linux-kernel, linux-doc, rdunlap, thomas.abraham

On Mon, Dec 05, 2011 at 12:47:42PM +0530, Rajendra Nayak wrote:
> The commit 2c043bcbf287 ("regulator: pass additional of_node to
> regulator_register()") added an additional parameter to the
> regulator_register() API.
> Update the Documentation accordingly to reflect the change
> in the function signature.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-05 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05  7:17 [PATCH] Documentation: Fix regulator_register() API signature Rajendra Nayak
2011-12-05 16:23 ` Mark Brown

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