Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355007
b: refs/heads/master
c: 36c286d
h: refs/heads/master
i:
  355005: 43e23b1
  355003: ffd0729
  354999: 4754606
  354991: eb23bc0
  354975: 7095a53
  354943: c6895eb
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent f10b24b commit 7a33d2e
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: 7353f85ce82baa363b0338ef4cb3745eb0686760
refs/heads/master: 36c286d5a45731d957d02c317ee2ce775e856765
8 changes: 3 additions & 5 deletions trunk/drivers/pcmcia/i82092.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *i
goto err_out_free_res;
}

pci_set_drvdata(dev, &sockets[i].socket);

for (i = 0; i<socket_count; i++) {
sockets[i].socket.dev.parent = &dev->dev;
sockets[i].socket.ops = &i82092aa_operations;
Expand Down Expand Up @@ -164,14 +162,14 @@ static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *i

static void i82092aa_pci_remove(struct pci_dev *dev)
{
struct pcmcia_socket *socket = pci_get_drvdata(dev);
int i;

enter("i82092aa_pci_remove");

free_irq(dev->irq, i82092aa_interrupt);

if (socket)
pcmcia_unregister_socket(socket);
for (i = 0; i < socket_count; i++)
pcmcia_unregister_socket(&sockets[i].socket);

leave("i82092aa_pci_remove");
}
Expand Down

0 comments on commit 7a33d2e

Please sign in to comment.