aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/tqm834x.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-11-07 06:15:40 -0500
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-07 09:01:58 -0500
commit69f34c98c1416eb74c55e38a21dbf3e294966514 (patch)
tree956f39f06463b026f293347b47de812fc3b6545f /drivers/mtd/maps/tqm834x.c
parent1f948b43f7b5cf721cf0d03f507843efc1a9bfad (diff)
[MTD] maps: Clean up trailing white spaces
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps/tqm834x.c')
-rw-r--r--drivers/mtd/maps/tqm834x.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/tqm834x.c b/drivers/mtd/maps/tqm834x.c
index d0bc9593cb4d..c7ae9a515c1a 100644
--- a/drivers/mtd/maps/tqm834x.c
+++ b/drivers/mtd/maps/tqm834x.c
@@ -133,7 +133,7 @@ static int __init init_tqm834x_mtd(void)
133 133
134 pr_debug("%s: chip probing count %d\n", __FUNCTION__, idx); 134 pr_debug("%s: chip probing count %d\n", __FUNCTION__, idx);
135 135
136 map_banks[idx] = 136 map_banks[idx] =
137 (struct map_info *)kmalloc(sizeof(struct map_info), 137 (struct map_info *)kmalloc(sizeof(struct map_info),
138 GFP_KERNEL); 138 GFP_KERNEL);
139 if (map_banks[idx] == NULL) { 139 if (map_banks[idx] == NULL) {
@@ -193,7 +193,7 @@ static int __init init_tqm834x_mtd(void)
193 tqm834x_partitions_bank1[n - 1].size = 193 tqm834x_partitions_bank1[n - 1].size =
194 mtd_banks[0]->size - 194 mtd_banks[0]->size -
195 tqm834x_partitions_bank1[n - 1].offset; 195 tqm834x_partitions_bank1[n - 1].offset;
196 196
197 /* check if we have second bank? */ 197 /* check if we have second bank? */
198 if (num_banks == 2) { 198 if (num_banks == 2) {
199 n = ARRAY_SIZE(tqm834x_partitions_bank2); 199 n = ARRAY_SIZE(tqm834x_partitions_bank2);
@@ -227,11 +227,11 @@ static int __init init_tqm834x_mtd(void)
227 "available, registering whole device\n", idx); 227 "available, registering whole device\n", idx);
228 add_mtd_device(mtd_banks[idx]); 228 add_mtd_device(mtd_banks[idx]);
229 } else { 229 } else {
230 printk(KERN_NOTICE 230 printk(KERN_NOTICE
231 "TQM834x flash bank %d: Using %s partition " 231 "TQM834x flash bank %d: Using %s partition "
232 "definition\n", idx, part_banks[idx].type); 232 "definition\n", idx, part_banks[idx].type);
233 add_mtd_partitions(mtd_banks[idx], 233 add_mtd_partitions(mtd_banks[idx],
234 part_banks[idx].mtd_part, 234 part_banks[idx].mtd_part,
235 part_banks[idx].nums); 235 part_banks[idx].nums);
236 } 236 }
237 } 237 }