Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144270
b: refs/heads/master
c: 030853b
h: refs/heads/master
v: v3
  • Loading branch information
Philipp Zabel authored and Liam Girdwood committed Apr 28, 2009
1 parent ef10ef5 commit 7edcc85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: aa61d558f0f9f8b303b9cab1e51e9886896ba1a3
refs/heads/master: 030853b7abdd6effb9cb44f29e60d1d7a9592210
3 changes: 1 addition & 2 deletions trunk/drivers/regulator/bq24022.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ static int bq24022_disable(struct regulator_dev *rdev)

static int bq24022_is_enabled(struct regulator_dev *rdev)
{
struct platform_device *pdev = rdev_get_drvdata(rdev);
struct bq24022_mach_info *pdata = pdev->dev.platform_data;
struct bq24022_mach_info *pdata = rdev_get_drvdata(rdev);

return !gpio_get_value(pdata->gpio_nce);
}
Expand Down

0 comments on commit 7edcc85

Please sign in to comment.