diff options
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 72bba7b2d983..26069d2e0271 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -1345,7 +1345,7 @@ static int __devinit snd_azf3328_create(snd_card_t * card, | |||
1345 | if ((err = pci_enable_device(pci)) < 0) | 1345 | if ((err = pci_enable_device(pci)) < 0) |
1346 | return err; | 1346 | return err; |
1347 | 1347 | ||
1348 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1348 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1349 | if (chip == NULL) { | 1349 | if (chip == NULL) { |
1350 | pci_disable_device(pci); | 1350 | pci_disable_device(pci); |
1351 | return -ENOMEM; | 1351 | return -ENOMEM; |