Skip to content

Commit

Permalink
[ARM] collie: fix two minor formatting nits
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
Russell King authored and Russell King committed Mar 25, 2009
1 parent 17a92a7 commit e63cedb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/arm/mach-sa1100/collie.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ static struct locomo_driver collie_uart_driver = {
.remove = collie_uart_remove,
};

static int __init collie_uart_init(void) {
static int __init collie_uart_init(void)
{
return locomo_driver_register(&collie_uart_driver);
}
device_initcall(collie_uart_init);
Expand Down Expand Up @@ -198,8 +199,7 @@ static struct mtd_partition collie_partitions[] = {

static int collie_flash_init(void)
{
int rc;
rc = gpio_request(COLLIE_GPIO_VPEN, "flash Vpp enable");
int rc = gpio_request(COLLIE_GPIO_VPEN, "flash Vpp enable");
if (rc)
return rc;

Expand All @@ -219,6 +219,7 @@ static void collie_flash_exit(void)
{
gpio_free(COLLIE_GPIO_VPEN);
}

static struct flash_platform_data collie_flash_data = {
.map_name = "cfi_probe",
.init = collie_flash_init,
Expand Down

0 comments on commit e63cedb

Please sign in to comment.