Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233694
b: refs/heads/master
c: ac3c830
h: refs/heads/master
v: v3
  • Loading branch information
Matti J. Aaltonen authored and Linus Torvalds committed Feb 25, 2011
1 parent d5fce45 commit 967f5b1
Show file tree
Hide file tree
Showing 2 changed files with 4 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: d73fa4b914eab332d9919132b273b6797b8aface
refs/heads/master: ac3c8304190ed0daaa2fb01ce2a069be5e2a52a7
4 changes: 3 additions & 1 deletion trunk/drivers/nfc/pn544.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ enum pn544_irq {
struct pn544_info {
struct miscdevice miscdev;
struct i2c_client *i2c_dev;
struct regulator_bulk_data regs[2];
struct regulator_bulk_data regs[3];

enum pn544_state state;
wait_queue_head_t read_wait;
Expand All @@ -74,6 +74,7 @@ struct pn544_info {

static const char reg_vdd_io[] = "Vdd_IO";
static const char reg_vbat[] = "VBat";
static const char reg_vsim[] = "VSim";

/* sysfs interface */
static ssize_t pn544_test(struct device *dev,
Expand Down Expand Up @@ -740,6 +741,7 @@ static int __devinit pn544_probe(struct i2c_client *client,

info->regs[0].supply = reg_vdd_io;
info->regs[1].supply = reg_vbat;
info->regs[2].supply = reg_vsim;
r = regulator_bulk_get(&client->dev, ARRAY_SIZE(info->regs),
info->regs);
if (r < 0)
Expand Down

0 comments on commit 967f5b1

Please sign in to comment.