[PATCH 1/8] improve-style-mach-s3c2410-mach-gta01.patch
Nelson Castillo
nelsoneci at gmail.com
Thu Oct 16 19:00:31 CEST 2008
Remove unwanted spaces. Replaced some spaces with TABs.
Signed-off-by: Nelson Castillo <nelsoneci at gmail.com>
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index 47377bd..c8df8ab 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -1,9 +1,9 @@
/*
* linux/arch/arm/mach-s3c2410/mach-gta01.c
*
- * S3C2410 Machine Support for the FIC Neo1973 GTA01
+ * S3C2410 Machine Support for the Openmoko GTA01 GSM Phone
*
- * Copyright (C) 2006-2007 by Openmoko, Inc.
+ * Copyright (C) 2006-2008 by Openmoko, Inc.
* Author: Harald Welte <laforge at openmoko.org>
* All rights reserved.
*
@@ -95,18 +95,18 @@ static struct map_desc gta01_iodesc[] __initdata = {
static struct s3c2410_uartcfg gta01_uartcfgs[] = {
[0] = {
- .hwport = 0,
- .flags = 0,
- .ucon = UCON,
- .ulcon = ULCON,
- .ufcon = UFCON_GTA01_PORT0,
+ .hwport = 0,
+ .flags = 0,
+ .ucon = UCON,
+ .ulcon = ULCON,
+ .ufcon = UFCON_GTA01_PORT0,
},
[1] = {
- .hwport = 1,
- .flags = 0,
- .ucon = UCON,
- .ulcon = ULCON,
- .ufcon = UFCON,
+ .hwport = 1,
+ .flags = 0,
+ .ucon = UCON,
+ .ulcon = ULCON,
+ .ufcon = UFCON,
},
};
@@ -273,7 +273,7 @@ static struct resource gta01_pmu_resources[] = {
};
struct platform_device gta01_pmu_dev = {
- .name = "pcf50606",
+ .name = "pcf50606",
.num_resources = ARRAY_SIZE(gta01_pmu_resources),
.resource = gta01_pmu_resources,
.dev = {
@@ -366,7 +366,7 @@ static struct i2c_board_info gta01_i2c_devs[] __initdata = {
{
I2C_BOARD_INFO("wm8753", 0x1a)
}, {
- I2C_BOARD_INFO("neo1973_lm4857", 0x7c)
+ I2C_BOARD_INFO("neo1973_lm4857", 0x7c)
}
};
@@ -590,12 +590,12 @@ static struct resource s3c_spi_lcm_resource[] = {
};
struct platform_device s3c_device_spi_lcm = {
- .name = "spi_s3c24xx_gpio",
- .id = 1,
- .num_resources = ARRAY_SIZE(s3c_spi_lcm_resource),
- .resource = s3c_spi_lcm_resource,
+ .name = "spi_s3c24xx_gpio",
+ .id = 1,
+ .num_resources = ARRAY_SIZE(s3c_spi_lcm_resource),
+ .resource = s3c_spi_lcm_resource,
.dev = {
- .platform_data = &spi_gpio_cfg,
+ .platform_data = &spi_gpio_cfg,
},
};
@@ -614,7 +614,7 @@ static struct resource gta01_bl_resources[] = {
};
struct platform_device gta01_bl_dev = {
- .name = "gta01-bl",
+ .name = "gta01-bl",
.num_resources = ARRAY_SIZE(gta01_bl_resources),
.resource = gta01_bl_resources,
.dev = {
@@ -743,8 +743,7 @@ static void __init gta01_machine_init(void)
platform_add_devices(gta01_devices, ARRAY_SIZE(gta01_devices));
- i2c_register_board_info(0, gta01_i2c_devs,
- ARRAY_SIZE(gta01_i2c_devs));
+ i2c_register_board_info(0, gta01_i2c_devs, ARRAY_SIZE(gta01_i2c_devs));
s3c2410_pm_init();
More information about the openmoko-kernel
mailing list