aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorAnand Gadiyar <gadiyar@ti.com>2009-07-16 11:13:03 -0400
committerJiri Kosina <jkosina@suse.cz>2009-09-21 09:14:55 -0400
commitfd589a8f0a13f53a2dd580b1fe170633cf6b095f (patch)
tree942c50188ca58041b0453189e710eafcfebaea57 /drivers/mtd
parent4f37940d64a155c025968118849b596f6aaa8128 (diff)
trivial: fix typo "to to" in multiple files
Signed-off-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/ixp2000.c2
-rw-r--r--drivers/mtd/ubi/eba.c2
-rw-r--r--drivers/mtd/ubi/ubi.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/ixp2000.c b/drivers/mtd/maps/ixp2000.c
index d4fb9a3ab4df..1bdf0ee6d0b6 100644
--- a/drivers/mtd/maps/ixp2000.c
+++ b/drivers/mtd/maps/ixp2000.c
@@ -184,7 +184,7 @@ static int ixp2000_flash_probe(struct platform_device *dev)
184 info->map.bankwidth = 1; 184 info->map.bankwidth = 1;
185 185
186 /* 186 /*
187 * map_priv_2 is used to store a ptr to to the bank_setup routine 187 * map_priv_2 is used to store a ptr to the bank_setup routine
188 */ 188 */
189 info->map.map_priv_2 = (unsigned long) ixp_data->bank_setup; 189 info->map.map_priv_2 = (unsigned long) ixp_data->bank_setup;
190 190
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index e4d9ef0c965a..9f87c99189a9 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -1065,7 +1065,7 @@ int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to,
1065 } 1065 }
1066 1066
1067 /* 1067 /*
1068 * Now we have got to calculate how much data we have to to copy. In 1068 * Now we have got to calculate how much data we have to copy. In
1069 * case of a static volume it is fairly easy - the VID header contains 1069 * case of a static volume it is fairly easy - the VID header contains
1070 * the data size. In case of a dynamic volume it is more difficult - we 1070 * the data size. In case of a dynamic volume it is more difficult - we
1071 * have to read the contents, cut 0xFF bytes from the end and copy only 1071 * have to read the contents, cut 0xFF bytes from the end and copy only
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 6a5fe9633783..47877942decc 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -570,7 +570,7 @@ void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol,
570 570
571/* 571/*
572 * ubi_rb_for_each_entry - walk an RB-tree. 572 * ubi_rb_for_each_entry - walk an RB-tree.
573 * @rb: a pointer to type 'struct rb_node' to to use as a loop counter 573 * @rb: a pointer to type 'struct rb_node' to use as a loop counter
574 * @pos: a pointer to RB-tree entry type to use as a loop counter 574 * @pos: a pointer to RB-tree entry type to use as a loop counter
575 * @root: RB-tree's root 575 * @root: RB-tree's root
576 * @member: the name of the 'struct rb_node' within the RB-tree entry 576 * @member: the name of the 'struct rb_node' within the RB-tree entry