Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 321855
b: refs/heads/master
c: b2a1ef4
h: refs/heads/master
i:
  321853: 0fdee6b
  321851: caf48ab
  321847: b5c0147
  321839: 0f12149
  321823: 08f8d65
  321791: 48e0096
v: v3
  • Loading branch information
Marek Szyprowski authored and Mark Brown committed Aug 9, 2012
1 parent e21f4a8 commit f16b8c1
Show file tree
Hide file tree
Showing 2 changed files with 2 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: e76ab829cc2d8b6350a3f01fffb208df4d7d8c1b
refs/heads/master: b2a1ef473b031b630a26685c91a46b9ae668d35c
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3217,7 +3217,7 @@ regulator_register(const struct regulator_desc *regulator_desc,

dev_set_drvdata(&rdev->dev, rdev);

if (config->ena_gpio) {
if (config->ena_gpio && gpio_is_valid(config->ena_gpio)) {
ret = gpio_request_one(config->ena_gpio,
GPIOF_DIR_OUT | config->ena_gpio_flags,
rdev_get_name(rdev));
Expand Down

0 comments on commit f16b8c1

Please sign in to comment.