Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368100
b: refs/heads/master
c: e07a894
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Dmitry Torokhov committed Apr 15, 2013
1 parent 161cdb7 commit 6d4afbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 39fbe5855737b2a2b8e097373951bbe1a4fdb345
refs/heads/master: e07a8943b809730220a4aff911d2bce6991828f1
8 changes: 3 additions & 5 deletions trunk/drivers/input/serio/apbps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,9 @@ static int apbps2_of_probe(struct platform_device *ofdev)

/* Find Device Address */
res = platform_get_resource(ofdev, IORESOURCE_MEM, 0);
priv->regs = devm_request_and_ioremap(&ofdev->dev, res);
if (!priv->regs) {
dev_err(&ofdev->dev, "io-regs mapping failed\n");
return -EBUSY;
}
priv->regs = devm_ioremap_resource(&ofdev->dev, res);
if (IS_ERR(priv->regs))
return PTR_ERR(priv->regs);

/* Reset hardware, disable interrupt */
iowrite32be(0, &priv->regs->ctrl);
Expand Down

0 comments on commit 6d4afbf

Please sign in to comment.