diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-09 08:21:17 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 04:48:09 -0400 |
commit | 9e76a76efc43d604a20bf0c5564caaf028a24d2e (patch) | |
tree | 92b186afb7a8a800482dfb2d7e093b2d4da3b80d /sound/isa/cs423x/cs4231_lib.c | |
parent | ecca82b4b447f8df73c807a018dac3e2863912d9 (diff) |
[ALSA] Replace with kzalloc() - isa stuff
ES18xx driver,OPL3SA2 driver,AD1816A driver,AD1848 driver,CS4231 driver
ES1688 driver,GUS Library,Opti9xx drivers,EMU8000 driver
SB16/AWE driver,SB drivers
Replace kcalloc(1,..) with kzalloc().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/cs423x/cs4231_lib.c')
-rw-r--r-- | sound/isa/cs423x/cs4231_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/cs423x/cs4231_lib.c b/sound/isa/cs423x/cs4231_lib.c index 3199941edd9b..32318258cd8e 100644 --- a/sound/isa/cs423x/cs4231_lib.c +++ b/sound/isa/cs423x/cs4231_lib.c | |||
@@ -1480,7 +1480,7 @@ static int snd_cs4231_new(snd_card_t * card, | |||
1480 | cs4231_t *chip; | 1480 | cs4231_t *chip; |
1481 | 1481 | ||
1482 | *rchip = NULL; | 1482 | *rchip = NULL; |
1483 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 1483 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
1484 | if (chip == NULL) | 1484 | if (chip == NULL) |
1485 | return -ENOMEM; | 1485 | return -ENOMEM; |
1486 | chip->hardware = hardware; | 1486 | chip->hardware = hardware; |