[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>
This commit is contained in:
committed by
Jaroslav Kysela
parent
ecca82b4b4
commit
9e76a76efc
@ -1097,7 +1097,7 @@ snd_emu8000_new(snd_card_t *card, int index, long port, int seq_ports, snd_seq_d
|
||||
if (seq_ports <= 0)
|
||||
return 0;
|
||||
|
||||
hw = kcalloc(1, sizeof(*hw), GFP_KERNEL);
|
||||
hw = kzalloc(sizeof(*hw), GFP_KERNEL);
|
||||
if (hw == NULL)
|
||||
return -ENOMEM;
|
||||
spin_lock_init(&hw->reg_lock);
|
||||
|
Reference in New Issue
Block a user