aboutsummaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap/0001-board-omap3beagle-whitespace-cleanup.patch
blob: 69105575f520042f58d53992b8aee6e52e764247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
From e5e52482147151aaaafbd388d1e5978268e51d24 Mon Sep 17 00:00:00 2001
Message-Id: <e5e52482147151aaaafbd388d1e5978268e51d24.1307392642.git.dvhart@linux.intel.com>
From: Darren Hart <dvhart@linux.intel.com>
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 <dvhart@linux.intel.com>
---
 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