kernel/drivers/i2c/busses/i2c-sh7760.c
.. .. @@ -443,9 +443,8 @@ 443 443 goto out0; 444 444 } 445 445 446 - id = kzalloc(sizeof(struct cami2c), GFP_KERNEL);446 + id = kzalloc(sizeof(*id), GFP_KERNEL);447 447 if (!id) { 448 - dev_err(&pdev->dev, "no mem for private data\n");449 448 ret = -ENOMEM; 450 449 goto out0; 451 450 }