summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAshok G <ashok.g@stericsson.com>2012-02-28 10:21:00 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:01:39 +0200
commitdde2702b6dec26717c0badd0878144c5e3f23470 (patch)
treee74fdfa187664e8765b683a21bd8c3b4bb7ebe6a /drivers/mfd
parent04cc2eb1eb7da89ab871d279d8fb64807cee0053 (diff)
ab8500-debugfs: Sizeof mismatch
St-Ericsson Linux next: NA St-Ericsson Id: 420118 St-Ericsson FOSS-OUT ID: Trivial Change-Id: I2acc2ceced2e22d6f432dbe2f6b8a448c410c99d Signed-off-by: Ashok G <ashok.g@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50651 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/ab8500-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/ab8500-debugfs.c b/drivers/mfd/ab8500-debugfs.c
index 1db6bcff114..595b41800b4 100644
--- a/drivers/mfd/ab8500-debugfs.c
+++ b/drivers/mfd/ab8500-debugfs.c
@@ -1563,7 +1563,7 @@ static int __devinit ab8500_debug_probe(struct platform_device *plf)
ab8500 = dev_get_drvdata(plf->dev.parent);
num_irqs = ab8500->mask_size;
- irq_count = kzalloc(sizeof(irq_count)*num_irqs, GFP_KERNEL);
+ irq_count = kzalloc(sizeof(*irq_count)*num_irqs, GFP_KERNEL);
if (!irq_count)
return -ENOMEM;