Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350664
b: refs/heads/master
c: ad4e58b
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Dmitry Torokhov committed Dec 24, 2012
1 parent 8486ab0 commit 1cca874
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 5d3caa442e0858fa07b9a6a68d05e1ba2cf246a4
refs/heads/master: ad4e58b0478ba8d34a3ddf695b3ceabe9510a839
4 changes: 2 additions & 2 deletions trunk/drivers/input/misc/adxl34x.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ struct adxl34x *adxl34x_probe(struct device *dev, int irq,
mutex_init(&ac->mutex);

input_dev->name = "ADXL34x accelerometer";
revid = ac->bops->read(dev, DEVID);
revid = AC_READ(ac, DEVID);

switch (revid) {
case ID_ADXL345:
Expand Down Expand Up @@ -809,7 +809,7 @@ struct adxl34x *adxl34x_probe(struct device *dev, int irq,
if (FIFO_MODE(pdata->fifo_mode) == FIFO_BYPASS)
ac->fifo_delay = false;

ac->bops->write(dev, POWER_CTL, 0);
AC_WRITE(ac, POWER_CTL, 0);

err = request_threaded_irq(ac->irq, NULL, adxl34x_irq,
IRQF_TRIGGER_HIGH | IRQF_ONESHOT,
Expand Down

0 comments on commit 1cca874

Please sign in to comment.