Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22973
b: refs/heads/master
c: d56a3e3
h: refs/heads/master
i:
  22971: 9c2095d
v: v3
  • Loading branch information
Bjorn Helgaas authored and Paul Mackerras committed Mar 23, 2006
1 parent 71a8394 commit 25915a5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 6ea671a12f66b9d4d0f35fce957a71a6849295f2
refs/heads/master: d56a3e380085bf45cc2adba80c4e6490ba644231
5 changes: 1 addition & 4 deletions trunk/drivers/macintosh/macio_asic.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,15 +550,12 @@ static void macio_pci_add_devices(struct macio_chip *chip)
*/
int macio_register_driver(struct macio_driver *drv)
{
int count = 0;

/* initialize common driver fields */
drv->driver.name = drv->name;
drv->driver.bus = &macio_bus_type;

/* register with core */
count = driver_register(&drv->driver);
return count ? count : 1;
return driver_register(&drv->driver);
}

/**
Expand Down

0 comments on commit 25915a5

Please sign in to comment.