Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292082
b: refs/heads/master
c: 2950c4b
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Jan 29, 2012
1 parent 8d4484e commit 88800d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: e24abd6ec6c2dabccb825dc41d1725bc496b3a54
refs/heads/master: 2950c4bbf397fc7d3d778a97c32bba0e955b47fe
6 changes: 5 additions & 1 deletion trunk/include/linux/regulator/consumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ struct regulator *__must_check devm_regulator_get(struct device *dev,
struct regulator *__must_check regulator_get_exclusive(struct device *dev,
const char *id);
void regulator_put(struct regulator *regulator);
void devm_regulator_free(struct regulator *regulator);
void devm_regulator_put(struct regulator *regulator);

/* regulator output control and status */
int regulator_enable(struct regulator *regulator);
Expand Down Expand Up @@ -216,6 +216,10 @@ static inline void regulator_put(struct regulator *regulator)
{
}

static inline void devm_regulator_put(struct regulator *regulator)
{
}

static inline int regulator_enable(struct regulator *regulator)
{
return 0;
Expand Down

0 comments on commit 88800d2

Please sign in to comment.