Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 42798
b: refs/heads/master
c: 3316eaa
h: refs/heads/master
v: v3
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Dec 7, 2006
1 parent b815a22 commit 235730b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: e6c4021190c828d7fa24a464db589f86c6708341
refs/heads/master: 3316eaa31e638d21dfa4a81a3322f8898981c591
5 changes: 3 additions & 2 deletions trunk/drivers/misc/tifm_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@ static int tifm_device_remove(struct device *dev)
struct tifm_driver *drv = fm_dev->drv;

if (drv) {
if (drv->remove) drv->remove(fm_dev);
fm_dev->drv = 0;
if (drv->remove)
drv->remove(fm_dev);
fm_dev->drv = NULL;
}

put_device(dev);
Expand Down

0 comments on commit 235730b

Please sign in to comment.