All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: Update regulator_register() API signature in Documentation
@ 2012-04-13  7:32 Axel Lin
  2012-04-13  8:57 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2012-04-13  7:32 UTC (permalink / raw)
  To: linux-kernel; +Cc: Mark Brown, Liam Girdwood

commit c172708 "regulator: core: Use a struct to pass in regulator runtime
configuration" changed the regulator_register() API signature.

Update the Documentation accordingly to reflect the change in the function
signature.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 Documentation/power/regulator/regulator.txt |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Documentation/power/regulator/regulator.txt b/Documentation/power/regulator/regulator.txt
index e272d99..1390277 100644
--- a/Documentation/power/regulator/regulator.txt
+++ b/Documentation/power/regulator/regulator.txt
@@ -11,8 +11,7 @@ Registration
 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, struct device_node *of_node);
+					 const struct regulator_config *config);
 
 This will register the regulators capabilities and operations to the regulator
 core.
-- 
1.7.5.4




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

* Re: [PATCH] regulator: Update regulator_register() API signature in Documentation
  2012-04-13  7:32 [PATCH] regulator: Update regulator_register() API signature in Documentation Axel Lin
@ 2012-04-13  8:57 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-04-13  8:57 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Liam Girdwood

[-- Attachment #1: Type: text/plain, Size: 218 bytes --]

On Fri, Apr 13, 2012 at 03:32:05PM +0800, Axel Lin wrote:
> commit c172708 "regulator: core: Use a struct to pass in regulator runtime
> configuration" changed the regulator_register() API signature.

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

end of thread, other threads:[~2012-04-13  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-13  7:32 [PATCH] regulator: Update regulator_register() API signature in Documentation Axel Lin
2012-04-13  8:57 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.