Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210687
b: refs/heads/master
c: 8b865d5
h: refs/heads/master
i:
  210685: 5e2042f
  210683: 3f6e8db
  210679: 2d18e96
  210671: 46a2ed1
  210655: ba94c6b
  210623: 5b2c273
  210559: e66b26a
  210431: 45cf26c
v: v3
  • Loading branch information
Mike Frysinger authored and David Woodhouse committed Sep 13, 2010
1 parent b122415 commit a679049
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: eac15a429a27cb74115daaf4c1127c5e854d50e4
refs/heads/master: 8b865d5efd9205b131dd9a43a6f450c05d38aaa1
7 changes: 1 addition & 6 deletions trunk/drivers/mtd/nand/bf5xx_nand.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,19 +682,14 @@ static int __devinit bf5xx_nand_add_partition(struct bf5xx_nand_info *info)
static int __devexit bf5xx_nand_remove(struct platform_device *pdev)
{
struct bf5xx_nand_info *info = to_nand_info(pdev);
struct mtd_info *mtd = NULL;

platform_set_drvdata(pdev, NULL);

/* first thing we need to do is release all our mtds
* and their partitions, then go through freeing the
* resources used
*/
mtd = &info->mtd;
if (mtd) {
nand_release(mtd);
kfree(mtd);
}
nand_release(&info->mtd);

peripheral_free_list(bfin_nfc_pin_req);
bf5xx_nand_dma_remove(info);
Expand Down

0 comments on commit a679049

Please sign in to comment.