diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-06-23 17:12:08 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-11 08:02:13 -0400 |
commit | 7854d3f7495b11be1570cd3e2318674d8f9ed797 (patch) | |
tree | 78eef0451fbec53ce062a37888ac026f079b56b0 /drivers/mtd/nand/au1550nd.c | |
parent | 15c60a508ab3393e68b7ccb3528981ccacf9c0f9 (diff) |
mtd: spelling, capitalization, uniformity
Therefor -> Therefore
[Intern], [Internal] -> [INTERN]
[REPLACABLE] -> [REPLACEABLE]
syndrom, syndom -> syndrome
ecc -> ECC
buswith -> buswidth
endianess -> endianness
dont -> don't
occures -> occurs
independend -> independent
wihin -> within
erease -> erase
blockes -> blocks
...
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/nand/au1550nd.c')
-rw-r--r-- | drivers/mtd/nand/au1550nd.c | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/drivers/mtd/nand/au1550nd.c b/drivers/mtd/nand/au1550nd.c index e7767eef4505..60d58d3f1fcc 100644 --- a/drivers/mtd/nand/au1550nd.c +++ b/drivers/mtd/nand/au1550nd.c | |||
@@ -48,7 +48,7 @@ static const struct mtd_partition partition_info[] = { | |||
48 | * au_read_byte - read one byte from the chip | 48 | * au_read_byte - read one byte from the chip |
49 | * @mtd: MTD device structure | 49 | * @mtd: MTD device structure |
50 | * | 50 | * |
51 | * read function for 8bit buswith | 51 | * read function for 8bit buswidth |
52 | */ | 52 | */ |
53 | static u_char au_read_byte(struct mtd_info *mtd) | 53 | static u_char au_read_byte(struct mtd_info *mtd) |
54 | { | 54 | { |
@@ -63,7 +63,7 @@ static u_char au_read_byte(struct mtd_info *mtd) | |||
63 | * @mtd: MTD device structure | 63 | * @mtd: MTD device structure |
64 | * @byte: pointer to data byte to write | 64 | * @byte: pointer to data byte to write |
65 | * | 65 | * |
66 | * write function for 8it buswith | 66 | * write function for 8it buswidth |
67 | */ | 67 | */ |
68 | static void au_write_byte(struct mtd_info *mtd, u_char byte) | 68 | static void au_write_byte(struct mtd_info *mtd, u_char byte) |
69 | { | 69 | { |
@@ -73,11 +73,10 @@ static void au_write_byte(struct mtd_info *mtd, u_char byte) | |||
73 | } | 73 | } |
74 | 74 | ||
75 | /** | 75 | /** |
76 | * au_read_byte16 - read one byte endianess aware from the chip | 76 | * au_read_byte16 - read one byte endianness aware from the chip |
77 | * @mtd: MTD device structure | 77 | * @mtd: MTD device structure |
78 | * | 78 | * |
79 | * read function for 16bit buswith with | 79 | * read function for 16bit buswidth with endianness conversion |
80 | * endianess conversion | ||
81 | */ | 80 | */ |
82 | static u_char au_read_byte16(struct mtd_info *mtd) | 81 | static u_char au_read_byte16(struct mtd_info *mtd) |
83 | { | 82 | { |
@@ -88,12 +87,11 @@ static u_char au_read_byte16(struct mtd_info *mtd) | |||
88 | } | 87 | } |
89 | 88 | ||
90 | /** | 89 | /** |
91 | * au_write_byte16 - write one byte endianess aware to the chip | 90 | * au_write_byte16 - write one byte endianness aware to the chip |
92 | * @mtd: MTD device structure | 91 | * @mtd: MTD device structure |
93 | * @byte: pointer to data byte to write | 92 | * @byte: pointer to data byte to write |
94 | * | 93 | * |
95 | * write function for 16bit buswith with | 94 | * write function for 16bit buswidth with endianness conversion |
96 | * endianess conversion | ||
97 | */ | 95 | */ |
98 | static void au_write_byte16(struct mtd_info *mtd, u_char byte) | 96 | static void au_write_byte16(struct mtd_info *mtd, u_char byte) |
99 | { | 97 | { |
@@ -106,8 +104,7 @@ static void au_write_byte16(struct mtd_info *mtd, u_char byte) | |||
106 | * au_read_word - read one word from the chip | 104 | * au_read_word - read one word from the chip |
107 | * @mtd: MTD device structure | 105 | * @mtd: MTD device structure |
108 | * | 106 | * |
109 | * read function for 16bit buswith without | 107 | * read function for 16bit buswidth without endianness conversion |
110 | * endianess conversion | ||
111 | */ | 108 | */ |
112 | static u16 au_read_word(struct mtd_info *mtd) | 109 | static u16 au_read_word(struct mtd_info *mtd) |
113 | { | 110 | { |
@@ -123,7 +120,7 @@ static u16 au_read_word(struct mtd_info *mtd) | |||
123 | * @buf: data buffer | 120 | * @buf: data buffer |
124 | * @len: number of bytes to write | 121 | * @len: number of bytes to write |
125 | * | 122 | * |
126 | * write function for 8bit buswith | 123 | * write function for 8bit buswidth |
127 | */ | 124 | */ |
128 | static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) | 125 | static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) |
129 | { | 126 | { |
@@ -142,7 +139,7 @@ static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) | |||
142 | * @buf: buffer to store date | 139 | * @buf: buffer to store date |
143 | * @len: number of bytes to read | 140 | * @len: number of bytes to read |
144 | * | 141 | * |
145 | * read function for 8bit buswith | 142 | * read function for 8bit buswidth |
146 | */ | 143 | */ |
147 | static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) | 144 | static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) |
148 | { | 145 | { |
@@ -161,7 +158,7 @@ static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) | |||
161 | * @buf: buffer containing the data to compare | 158 | * @buf: buffer containing the data to compare |
162 | * @len: number of bytes to compare | 159 | * @len: number of bytes to compare |
163 | * | 160 | * |
164 | * verify function for 8bit buswith | 161 | * verify function for 8bit buswidth |
165 | */ | 162 | */ |
166 | static int au_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) | 163 | static int au_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) |
167 | { | 164 | { |
@@ -183,7 +180,7 @@ static int au_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) | |||
183 | * @buf: data buffer | 180 | * @buf: data buffer |
184 | * @len: number of bytes to write | 181 | * @len: number of bytes to write |
185 | * | 182 | * |
186 | * write function for 16bit buswith | 183 | * write function for 16bit buswidth |
187 | */ | 184 | */ |
188 | static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) | 185 | static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) |
189 | { | 186 | { |
@@ -205,7 +202,7 @@ static void au_write_buf16(struct mtd_info *mtd, const u_char *buf, int len) | |||
205 | * @buf: buffer to store date | 202 | * @buf: buffer to store date |
206 | * @len: number of bytes to read | 203 | * @len: number of bytes to read |
207 | * | 204 | * |
208 | * read function for 16bit buswith | 205 | * read function for 16bit buswidth |
209 | */ | 206 | */ |
210 | static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) | 207 | static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) |
211 | { | 208 | { |
@@ -226,7 +223,7 @@ static void au_read_buf16(struct mtd_info *mtd, u_char *buf, int len) | |||
226 | * @buf: buffer containing the data to compare | 223 | * @buf: buffer containing the data to compare |
227 | * @len: number of bytes to compare | 224 | * @len: number of bytes to compare |
228 | * | 225 | * |
229 | * verify function for 16bit buswith | 226 | * verify function for 16bit buswidth |
230 | */ | 227 | */ |
231 | static int au_verify_buf16(struct mtd_info *mtd, const u_char *buf, int len) | 228 | static int au_verify_buf16(struct mtd_info *mtd, const u_char *buf, int len) |
232 | { | 229 | { |