diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-10 10:30:01 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 16:44:39 -0400 |
commit | e7068ad337a991fba627148a4a57939fdc1e6a2d (patch) | |
tree | 6fcfe2a48ffe83b8ccb9539333ee6c2b60d779d7 /arch/arm/mach-orion5x/db88f5281-setup.c | |
parent | f91a8dcc25398c5d708056de081d6cebf3f2023e (diff) |
[ARM] Orion: fix various whitespace and coding style issues
More cosmetic cleanup:
- Replace 8-space indents by proper tab indents.
- In structure initialisers, use a trailing comma for every member.
- Collapse "},\n{" in structure initialiers to "}, {".
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion5x/db88f5281-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/db88f5281-setup.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/arch/arm/mach-orion5x/db88f5281-setup.c b/arch/arm/mach-orion5x/db88f5281-setup.c index 44c64342dacb..4ee695028254 100644 --- a/arch/arm/mach-orion5x/db88f5281-setup.c +++ b/arch/arm/mach-orion5x/db88f5281-setup.c | |||
@@ -86,7 +86,7 @@ static struct platform_device db88f5281_boot_flash = { | |||
86 | .name = "physmap-flash", | 86 | .name = "physmap-flash", |
87 | .id = 0, | 87 | .id = 0, |
88 | .dev = { | 88 | .dev = { |
89 | .platform_data = &db88f5281_boot_flash_data, | 89 | .platform_data = &db88f5281_boot_flash_data, |
90 | }, | 90 | }, |
91 | .num_resources = 1, | 91 | .num_resources = 1, |
92 | .resource = &db88f5281_boot_flash_resource, | 92 | .resource = &db88f5281_boot_flash_resource, |
@@ -110,7 +110,7 @@ static struct platform_device db88f5281_nor_flash = { | |||
110 | .name = "physmap-flash", | 110 | .name = "physmap-flash", |
111 | .id = 1, | 111 | .id = 1, |
112 | .dev = { | 112 | .dev = { |
113 | .platform_data = &db88f5281_nor_flash_data, | 113 | .platform_data = &db88f5281_nor_flash_data, |
114 | }, | 114 | }, |
115 | .num_resources = 1, | 115 | .num_resources = 1, |
116 | .resource = &db88f5281_nor_flash_resource, | 116 | .resource = &db88f5281_nor_flash_resource, |
@@ -125,18 +125,15 @@ static struct mtd_partition db88f5281_nand_parts[] = { | |||
125 | .name = "kernel", | 125 | .name = "kernel", |
126 | .offset = 0, | 126 | .offset = 0, |
127 | .size = SZ_2M, | 127 | .size = SZ_2M, |
128 | }, | 128 | }, { |
129 | { | ||
130 | .name = "root", | 129 | .name = "root", |
131 | .offset = SZ_2M, | 130 | .offset = SZ_2M, |
132 | .size = (SZ_16M - SZ_2M), | 131 | .size = (SZ_16M - SZ_2M), |
133 | }, | 132 | }, { |
134 | { | ||
135 | .name = "user", | 133 | .name = "user", |
136 | .offset = SZ_16M, | 134 | .offset = SZ_16M, |
137 | .size = SZ_8M, | 135 | .size = SZ_8M, |
138 | }, | 136 | }, { |
139 | { | ||
140 | .name = "recovery", | 137 | .name = "recovery", |
141 | .offset = (SZ_16M + SZ_8M), | 138 | .offset = (SZ_16M + SZ_8M), |
142 | .size = SZ_8M, | 139 | .size = SZ_8M, |