Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 317226
b: refs/heads/master
c: 20cf700
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Iglesias Gonsalvez authored and Greg Kroah-Hartman committed Jun 7, 2012
1 parent 3e08409 commit d55499e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 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: ca2d2bb6618396ec0a79b182fcd1591ef62b07cb
refs/heads/master: 20cf70082440ffabbec5c275726f68fe53872c94
13 changes: 1 addition & 12 deletions trunk/drivers/staging/ipack/bridges/tpci200.c
Original file line number Diff line number Diff line change
Expand Up @@ -751,23 +751,12 @@ static int tpci200_request_irq(struct ipack_device *dev, int vector,
return res;
}

static void tpci200_slot_remove(struct tpci200_slot *slot)
{
if ((slot->dev == NULL) ||
(slot->dev->driver == NULL) ||
(slot->dev->driver->ops == NULL) ||
(slot->dev->driver->ops->remove == NULL))
return;

slot->dev->driver->ops->remove(slot->dev);
}

static void tpci200_uninstall(struct tpci200_board *tpci200)
{
int i;

for (i = 0; i < TPCI200_NB_SLOT; i++)
tpci200_slot_remove(&tpci200->slots[i]);
tpci200_slot_unregister(tpci200->slots[i].dev);

tpci200_unregister(tpci200);
kfree(tpci200->slots);
Expand Down

0 comments on commit d55499e

Please sign in to comment.