Title: [6431] trunk/drivers/mtd/maps/uclinux.c: apply style fixes to match mainline
Revision
6431
Author
vapier
Date
2009-05-20 18:55:37 -0500 (Wed, 20 May 2009)

Log Message

apply style fixes to match mainline

Modified Paths


Diff

Modified: trunk/drivers/mtd/maps/uclinux.c (6430 => 6431)


--- trunk/drivers/mtd/maps/uclinux.c	2009-05-20 23:53:53 UTC (rev 6430)
+++ trunk/drivers/mtd/maps/uclinux.c	2009-05-20 23:55:37 UTC (rev 6431)
@@ -32,12 +32,10 @@
 /****************************************************************************/
 
 struct mtd_partition uclinux_romfs[] = {
-	{
-	.name = "ROMfs",
-	}
+	{ .name = "ROMfs" }
 };
 
-#define	NUM_PARTITIONS	(sizeof(uclinux_romfs) / sizeof(uclinux_romfs[0]))
+#define	NUM_PARTITIONS	ARRAY_SIZE(uclinux_romfs)
 
 /****************************************************************************/
 
@@ -93,7 +91,6 @@
 	}
 #endif
 
-
 	mapp->bankwidth = 4;
 
 	printk("uclinux[mtd]: RAM probe address=0x%x size=0x%x\n",
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to