From e5e52482147151aaaafbd388d1e5978268e51d24 Mon Sep 17 00:00:00 2001 Message-Id: From: Darren Hart Date: Mon, 6 Jun 2011 10:17:56 -0700 Subject: [PATCH 1/2] board-omap3beagle: whitespace cleanup Eliminate leading and trailing whitespace. Indent with tabs. Signed-off-by: Darren Hart --- arch/arm/mach-omap2/board-omap3beagle.c | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index b035bb5..b618cb6 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -167,12 +167,12 @@ struct wl12xx_platform_data omap_beagle_wlan_data __initdata = { .board_ref_clock = 2, /* 38.4 MHz */ }; - static struct omap2_hsmmc_info mmcbbt[] = { - { - .mmc = 1, - .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, - .gpio_wp = 29, - }, +static struct omap2_hsmmc_info mmcbbt[] = { + { + .mmc = 1, + .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, + .gpio_wp = 29, + }, { .name = "wl1271", .mmc = 2, @@ -181,8 +181,8 @@ struct wl12xx_platform_data omap_beagle_wlan_data __initdata = { .gpio_cd = -EINVAL, .nonremovable = true, }, - {} /* Terminator */ - }; + {} /* Terminator */ +}; static struct regulator_consumer_supply beagle_vmmc2_supply = { .supply = "vmmc", @@ -455,7 +455,7 @@ static int beagle_twl_gpio_setup(struct device *dev, /* gpio + 0 is "mmc0_cd" (input/IRQ) */ mmc[0].gpio_cd = gpio + 0; #if defined(CONFIG_WL1271) || defined(CONFIG_WL1271_MODULE) - if(!strcmp(expansionboard_name, "bbtoys-wifi")) { + if(!strcmp(expansionboard_name, "bbtoys-wifi")) { omap2_hsmmc_init(mmcbbt); /* link regulators to MMC adapters */ beagle_vmmc1_supply.dev = mmcbbt[0].dev; @@ -648,9 +648,9 @@ static struct i2c_board_info __initdata beagle_i2c1_boardinfo[] = { }; static struct i2c_board_info __initdata beagle_i2c_eeprom[] = { - { - I2C_BOARD_INFO("eeprom", 0x50), - }, + { + I2C_BOARD_INFO("eeprom", 0x50), + }, }; #if defined(CONFIG_RTC_DRV_DS1307) || \ @@ -888,7 +888,7 @@ static void __init omap3_beagle_init(void) /* REVISIT leave DVI powered down until it's needed ... */ gpio_direction_output(170, true); - if(!strcmp(expansionboard_name, "zippy")) + if(!strcmp(expansionboard_name, "zippy")) { printk(KERN_INFO "Beagle expansionboard: initializing enc28j60\n"); omap3beagle_enc28j60_init(); @@ -897,7 +897,7 @@ static void __init omap3_beagle_init(void) mmc[1].gpio_cd = 162; } - if(!strcmp(expansionboard_name, "zippy2")) + if(!strcmp(expansionboard_name, "zippy2")) { printk(KERN_INFO "Beagle expansionboard: initializing ks_8851\n"); omap3beagle_ks8851_init(); -- 1.7.1