Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302230
b: refs/heads/master
c: dcf7011
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed May 10, 2012
1 parent 25a7017 commit 3936ca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f82b6cf76516063fe26dac15e93544387c681eb
refs/heads/master: dcf701125eefea6baf72753533cb8b60fb0e3934
1 change: 1 addition & 0 deletions trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2941,6 +2941,7 @@ regulator_register(const struct regulator_desc *regulator_desc,
return ERR_PTR(-EINVAL);

dev = config->dev;
WARN_ON(!dev);

if (regulator_desc->name == NULL || regulator_desc->ops == NULL)
return ERR_PTR(-EINVAL);
Expand Down

0 comments on commit 3936ca9

Please sign in to comment.