1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 15:15:32 +02:00
openwrt-xburst/target/linux/s3c24xx/patches-2.6.24/1194-cosmetic-checkpatch-complaints.patch.patch
mirko fc54b9bf15 changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-12 11:58:53 +00:00

71 lines
2.6 KiB
Diff

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