Merge branch 'topic/hda-core-intel' into for-next
[linux-2.6-microblaze.git] / drivers / nvmem / sunxi_sid.c
index 26bb637..d020f89 100644 (file)
@@ -185,7 +185,7 @@ static int sunxi_sid_probe(struct platform_device *pdev)
        if (IS_ERR(nvmem))
                return PTR_ERR(nvmem);
 
-       randomness = kzalloc(sizeof(u8) * (size), GFP_KERNEL);
+       randomness = kzalloc(size, GFP_KERNEL);
        if (!randomness) {
                ret = -EINVAL;
                goto err_unreg_nvmem;