Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272411
b: refs/heads/master
c: 2c1ba39
h: refs/heads/master
i:
  272409: e194c19
  272407: 423196e
v: v3
  • Loading branch information
Mark Brown committed Oct 7, 2011
1 parent 6fcd471 commit 9fac8e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 437afd2ad6ba252fdbad9a1ad2610992fea55bd6
refs/heads/master: 2c1ba398ac9da3305815f6ae8e95ae2b9fd3b5ff
8 changes: 4 additions & 4 deletions trunk/Documentation/power/regulator/machine.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ initialisation code by creating a struct regulator_consumer_supply for
each regulator.

struct regulator_consumer_supply {
struct device *dev; /* consumer */
const char *dev_name; /* consumer dev_name() */
const char *supply; /* consumer supply - e.g. "vcc" */
};

e.g. for the machine above

static struct regulator_consumer_supply regulator1_consumers[] = {
{
.dev = &platform_consumerB_device.dev,
.supply = "Vcc",
.dev_name = "dev_name(consumer B)",
.supply = "Vcc",
},};

static struct regulator_consumer_supply regulator2_consumers[] = {
{
.dev = &platform_consumerA_device.dev,
.dev = "dev_name(consumer A"),
.supply = "Vcc",
},};

Expand Down

0 comments on commit 9fac8e1

Please sign in to comment.