aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-21 11:56:56 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-21 11:56:56 +0000
commit41a07b0e8f1c2dcb4eed14a4754324a1a578e44b (patch)
tree82287400e5df51bf69acc0af5878233555f0005a
parentbf055a688993574a03df20a7ad867e1e6d54e2f3 (diff)
add-balaji-pcf50633-active-probe.patch
Signed-off-by: Andy Green <andy@openmoko.com>
-rw-r--r--drivers/mfd/pcf50633-core.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index 7533bfec3c1..3f471e8b273 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -228,9 +228,7 @@ EXPORT_SYMBOL(pcf50633_irq_mask_get);
static void pcf50633_irq_call_handler(struct pcf50633 *pcf,
int irq)
{
- printk(KERN_INFO "pcf = %p\n", pcf);
if (pcf->irq_handler[irq].handler) {
- printk(KERN_INFO "irq = %d, %p, data=0x%08x\n", irq, pcf->irq_handler[irq].handler, pcf->irq_handler[irq].data);
pcf->irq_handler[irq].handler(pcf, irq,
pcf->irq_handler[irq].data);
}
@@ -453,8 +451,9 @@ static int pcf50633_probe(struct i2c_client *client,
struct pcf50633 *pcf;
struct pcf50633_platform_data *pdata;
int i, ret = 0;
- int version, variant;
u8 mbcs1;
+ int version;
+ int variant;
pdata = client->dev.platform_data;