Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109828
b: refs/heads/master
c: 632480e
h: refs/heads/master
v: v3
  • Loading branch information
Jürgen Schindele authored and Russell King committed Sep 13, 2008
1 parent 550360c commit 3a8343f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 7736c09c6cf9521f2413d78856a66f4a37046e84
refs/heads/master: 632480ea6548ae66e89a49ef037fd593c7a52418
6 changes: 5 additions & 1 deletion trunk/drivers/pcmcia/soc_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,9 @@ int soc_common_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops

add_timer(&skt->poll_timer);

device_create_file(&skt->socket.dev, &dev_attr_status);
ret = device_create_file(&skt->socket.dev, &dev_attr_status);
if (ret)
goto out_err_8;
}

dev_set_drvdata(dev, sinfo);
Expand All @@ -758,6 +760,8 @@ int soc_common_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops
do {
skt = &sinfo->skt[i];

device_remove_file(&skt->socket.dev, &dev_attr_status);
out_err_8:
del_timer_sync(&skt->poll_timer);
pcmcia_unregister_socket(&skt->socket);

Expand Down

0 comments on commit 3a8343f

Please sign in to comment.