diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 9f3cdda5913963f5c64f6d7a129fb53d028e1e98..0f2245e1af2b1d7d7b8a4f7268b1ce1f61846da8 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -1397,7 +1397,7 @@ static int sahara_probe(struct platform_device *pdev) int err; int i; - dev = devm_kzalloc(&pdev->dev, sizeof(struct sahara_dev), GFP_KERNEL); + dev = devm_kzalloc(&pdev->dev, sizeof(*dev), GFP_KERNEL); if (!dev) return -ENOMEM;