Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268579
b: refs/heads/master
c: ff006d1
h: refs/heads/master
i:
  268577: 425f264
  268575: 9afbe6b
v: v3
  • Loading branch information
Julian Andres Klode authored and Greg Kroah-Hartman committed Sep 30, 2011
1 parent d5e9860 commit 671846b
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 210ceb4f68dcc7bede2e3af547abd6f661a7bfda
refs/heads/master: ff006d12667153a5ee187c834ac328dfd5afb0a2
7 changes: 2 additions & 5 deletions trunk/drivers/staging/nvec/nvec_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ static struct nvec_ps2 ps2_dev;
static int ps2_startstreaming(struct serio *ser_dev)
{
unsigned char buf[] = START_STREAMING;
nvec_write_async(ps2_dev.nvec, buf, sizeof(buf));
return 0;
return nvec_write_async(ps2_dev.nvec, buf, sizeof(buf));
}

static void ps2_stopstreaming(struct serio *ser_dev)
Expand All @@ -55,9 +54,7 @@ static int ps2_sendcommand(struct serio *ser_dev, unsigned char cmd)
buf[2] = cmd & 0xff;

dev_dbg(&ser_dev->dev, "Sending ps2 cmd %02x\n", cmd);
nvec_write_async(ps2_dev.nvec, buf, sizeof(buf));

return 0;
return nvec_write_async(ps2_dev.nvec, buf, sizeof(buf));
}

static int nvec_ps2_notifier(struct notifier_block *nb,
Expand Down

0 comments on commit 671846b

Please sign in to comment.