aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1194-cosmetic-checkpatch-complaints.patch.patch
blob: 81e27ef4765706f82b621fcd9480b70c2b6f25e0 (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
From 22669f5d3422bca55eb247759d570306c1d6f1ae Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Wed, 2 Jul 2008 22:41:07 +0100
Subject: [PATCH] cosmetic-checkpatch-complaints.patch

Signed-off-by: Andy Green <andy@openmoko.com>
---
 drivers/i2c/chips/pcf50633.c   |    2 +-
 drivers/mfd/glamo/glamo-core.c |    2 +-
 drivers/mfd/glamo/glamo-core.h |    3 ++-
 include/linux/glamofb.h        |    3 ++-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
index 037ae04..2f144bc 100644
--- a/drivers/i2c/chips/pcf50633.c
+++ b/drivers/i2c/chips/pcf50633.c
@@ -778,7 +778,7 @@ static void pcf50633_work(struct work_struct *work)
 	if (ret != 5) {
 		dev_info(&pcf->client.dev,
 			 "Oh crap PMU IRQ register read failed -- "
-		         "retrying later %d\n", ret);
+			 "retrying later %d\n", ret);
 		/*
 		 * it shouldn't fail, we no longer attempt to use I2C while
 		 * it can be suspended.  But we don't have much option but to
diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c
index 608721e..2a02f9c 100644
--- a/drivers/mfd/glamo/glamo-core.c
+++ b/drivers/mfd/glamo/glamo-core.c
@@ -271,7 +271,7 @@ struct glamo_mci_pdata glamo_mci_def_pdata = {
 	.ocr_avail		= MMC_VDD_32_33,
 	.glamo_irq_is_wired	= NULL, /* filled in from MFD platform data */
 	.mci_suspending = NULL, /* filled in from MFD platform data */
-	.mci_all_dependencies_resumed = NULL, /* filled in from MFD platform data */
+	.mci_all_dependencies_resumed = NULL, /* filled in from MFD plat data */
 };
 EXPORT_SYMBOL_GPL(glamo_mci_def_pdata);
 
diff --git a/drivers/mfd/glamo/glamo-core.h b/drivers/mfd/glamo/glamo-core.h
index b1531b3..82b95f5 100644
--- a/drivers/mfd/glamo/glamo-core.h
+++ b/drivers/mfd/glamo/glamo-core.h
@@ -72,7 +72,8 @@ struct glamo_mci_pdata {
 				     unsigned short vdd);
 	int		(*glamo_irq_is_wired)(void);
 	void		(*mci_suspending)(struct platform_device *dev);
-	int		(*mci_all_dependencies_resumed)(struct platform_device *dev);
+	int		(*mci_all_dependencies_resumed)(struct platform_device
+									  *dev);
 
 };
 
diff --git a/include/linux/glamofb.h b/include/linux/glamofb.h
index bb1a398..efd315b 100644
--- a/include/linux/glamofb.h
+++ b/include/linux/glamofb.h
@@ -33,7 +33,8 @@ struct glamofb_platform_data {
 				     unsigned short vdd);
 	int		(*glamo_irq_is_wired)(void);
 	void		(*mci_suspending)(struct platform_device *dev);
-	int		(*mci_all_dependencies_resumed)(struct platform_device *dev);
+	int		(*mci_all_dependencies_resumed)(struct platform_device
+									  *dev);
 };
 
 int glamofb_cmd_mode(struct glamofb_handle *gfb, int on);
-- 
1.5.6.5