Commit a6755780 authored by Ben Dooks's avatar Ben Dooks

[ARM] Acer n30: Minor style and indentation fixes.

Minor style fixes.
Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 9a2ddb78
...@@ -84,18 +84,17 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = { ...@@ -84,18 +84,17 @@ static struct s3c2410_uartcfg n30_uartcfgs[] = {
static void n30_udc_pullup(enum s3c2410_udc_cmd_e cmd) static void n30_udc_pullup(enum s3c2410_udc_cmd_e cmd)
{ {
switch (cmd) switch (cmd) {
{ case S3C2410_UDC_P_ENABLE :
case S3C2410_UDC_P_ENABLE : s3c2410_gpio_setpin(S3C2410_GPB3, 1);
s3c2410_gpio_setpin(S3C2410_GPB3, 1); break;
break; case S3C2410_UDC_P_DISABLE :
case S3C2410_UDC_P_DISABLE : s3c2410_gpio_setpin(S3C2410_GPB3, 0);
s3c2410_gpio_setpin(S3C2410_GPB3, 0); break;
break; case S3C2410_UDC_P_RESET :
case S3C2410_UDC_P_RESET : break;
break; default:
default: break;
break;
} }
} }
...@@ -293,28 +292,29 @@ static struct platform_device n30_warning_led = { ...@@ -293,28 +292,29 @@ static struct platform_device n30_warning_led = {
}; };
static struct s3c2410fb_display n30_display __initdata = { static struct s3c2410fb_display n30_display __initdata = {
.type = S3C2410_LCDCON1_TFT, .type = S3C2410_LCDCON1_TFT,
.width = 240, .width = 240,
.height = 320, .height = 320,
.pixclock = 170000, .pixclock = 170000,
.xres = 240,
.yres = 320, .xres = 240,
.bpp = 16, .yres = 320,
.left_margin = 3, .bpp = 16,
.right_margin = 40, .left_margin = 3,
.hsync_len = 40, .right_margin = 40,
.upper_margin = 2, .hsync_len = 40,
.lower_margin = 3, .upper_margin = 2,
.vsync_len = 2, .lower_margin = 3,
.vsync_len = 2,
.lcdcon5 = S3C2410_LCDCON5_INVVLINE | S3C2410_LCDCON5_INVVFRAME, .lcdcon5 = S3C2410_LCDCON5_INVVLINE | S3C2410_LCDCON5_INVVFRAME,
}; };
static struct s3c2410fb_mach_info n30_fb_info __initdata = { static struct s3c2410fb_mach_info n30_fb_info __initdata = {
.displays = &n30_display, .displays = &n30_display,
.num_displays = 1, .num_displays = 1,
.default_display = 0, .default_display = 0,
.lpcsel= 0x06, .lpcsel = 0x06,
}; };
static struct platform_device *n30_devices[] __initdata = { static struct platform_device *n30_devices[] __initdata = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment