summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/au1100fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/au1100fb.c')
-rw-r--r--drivers/video/fbdev/au1100fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
index 7c9a672e9811..d555a78df5c6 100644
--- a/drivers/video/fbdev/au1100fb.c
+++ b/drivers/video/fbdev/au1100fb.c
@@ -501,7 +501,7 @@ static int au1100fb_drv_probe(struct platform_device *dev)
fbdev->info.fix = au1100fb_fix;
fbdev->info.pseudo_palette =
- devm_kzalloc(&dev->dev, sizeof(u32) * 16, GFP_KERNEL);
+ devm_kcalloc(&dev->dev, 16, sizeof(u32), GFP_KERNEL);
if (!fbdev->info.pseudo_palette)
return -ENOMEM;
OpenPOWER on IntegriCloud