git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[ALSA] Replace with kzalloc() - pci stuff
[pandora-kernel.git]
/
sound
/
pci
/
azt3328.c
diff --git
a/sound/pci/azt3328.c
b/sound/pci/azt3328.c
index
72bba7b
..
26069d2
100644
(file)
--- a/
sound/pci/azt3328.c
+++ b/
sound/pci/azt3328.c
@@
-1345,7
+1345,7
@@
static int __devinit snd_azf3328_create(snd_card_t * card,
if ((err = pci_enable_device(pci)) < 0)
return err;
- chip = k
calloc(1,
sizeof(*chip), GFP_KERNEL);
+ chip = k
zalloc(
sizeof(*chip), GFP_KERNEL);
if (chip == NULL) {
pci_disable_device(pci);
return -ENOMEM;