Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48319
b: refs/heads/master
c: 9b22271
h: refs/heads/master
i:
  48317: 4f44bd8
  48315: 9d52978
  48311: fdd6bb2
  48303: 28115d9
  48287: 765eda7
  48255: 1eecad7
v: v3
  • Loading branch information
Bjorn Helgaas authored and Linus Torvalds committed Feb 14, 2007
1 parent 845680d commit 5c3f9e5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 40b36daad0ac704e6d5c1b75789f371ef5b053c1
refs/heads/master: 9b22271d4b8c1be8a81563c322d3f04e7cbe2153
8 changes: 4 additions & 4 deletions trunk/drivers/serial/8250_pnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@ serial_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
port.dev = &dev->dev;

line = serial8250_register_port(&port);
if (line < 0)
return -ENODEV;

if (line >= 0)
pnp_set_drvdata(dev, (void *)((long)line + 1));
return line >= 0 ? 0 : -ENODEV;

pnp_set_drvdata(dev, (void *)((long)line + 1));
return 0;
}

static void __devexit serial_pnp_remove(struct pnp_dev *dev)
Expand Down

0 comments on commit 5c3f9e5

Please sign in to comment.