mtd/drivers/mtd/devices blkmtd.c,1.28,1.29 pmc551.c,1.32,1.33

gleixner at infradead.org gleixner at infradead.org
Tue Nov 29 15:02:00 EST 2005


Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv14005/drivers/mtd/devices

Modified Files:
	blkmtd.c pmc551.c 
Log Message:
Big mainline sync: Driver model updates, kfree fixup, version.h removals

Index: blkmtd.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/blkmtd.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- blkmtd.c	29 Nov 2005 14:31:49 -0000	1.28
+++ blkmtd.c	29 Nov 2005 20:01:27 -0000	1.29
@@ -539,11 +539,8 @@
 {
 	DEBUG(2, "blkmtd: free_device() dev = %p\n", dev);
 	if(dev) {
-		if(dev->mtd_info.eraseregions)
-			kfree(dev->mtd_info.eraseregions);
-		if(dev->mtd_info.name)
-			kfree(dev->mtd_info.name);
-
+		kfree(dev->mtd_info.eraseregions);
+		kfree(dev->mtd_info.name);
 		if(dev->blkdev) {
 			invalidate_inode_pages(dev->blkdev->bd_inode->i_mapping);
 			close_bdev_excl(dev->blkdev);

Index: pmc551.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/pmc551.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- pmc551.c	7 Nov 2005 11:14:25 -0000	1.32
+++ pmc551.c	29 Nov 2005 20:01:27 -0000	1.33
@@ -82,7 +82,6 @@
  *       * Comb the init routine.  It's still a bit cludgy on a few things.
  */
 
-#include <linux/version.h>
 #include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/module.h>





More information about the linux-mtd-cvs mailing list