projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: devm_kzalloc() -> devm_kcalloc()
[linux-2.6-microblaze.git]
/
drivers
/
video
/
fbdev
/
mxsfb.c
diff --git
a/drivers/video/fbdev/mxsfb.c
b/drivers/video/fbdev/mxsfb.c
index
246bea3
..
12c8bd1
100644
(file)
--- a/
drivers/video/fbdev/mxsfb.c
+++ b/
drivers/video/fbdev/mxsfb.c
@@
-931,7
+931,7
@@
static int mxsfb_probe(struct platform_device *pdev)
if (IS_ERR(host->reg_lcd))
host->reg_lcd = NULL;
- fb_info->pseudo_palette = devm_k
zalloc(&pdev->dev, sizeof(u32) * 16
,
+ fb_info->pseudo_palette = devm_k
calloc(&pdev->dev, 16, sizeof(u32)
,
GFP_KERNEL);
if (!fb_info->pseudo_palette) {
ret = -ENOMEM;