diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-09 08:21:46 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 04:48:16 -0400 |
commit | e560d8d8368ad8b6161839984b253de622863265 (patch) | |
tree | 983e5932adb9da5c0d1d080b11ce7b60049e556f /sound/pci/hda/patch_realtek.c | |
parent | 9e76a76efc43d604a20bf0c5564caaf028a24d2e (diff) |
[ALSA] Replace with kzalloc() - pci stuff
AD1889 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver
BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver
ES1938 driver,ES1968 driver,FM801 driver,Intel8x0 driver
Intel8x0-modem driver,Maestro3 driver,SonicVibes driver,VIA82xx driver
VIA82xx-modem driver,AC97 Codec,AK4531 codec,au88x0 driver
CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver
HDA generic driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
KORG1212 driver,MIXART driver,NM256 driver,Trident driver,YMFPCI driver
Replace kcalloc(1,..) with kzalloc().
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 45f286faa21b..849b5b50c921 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -2095,7 +2095,7 @@ static int patch_alc880(struct hda_codec *codec) | |||
2095 | int board_config; | 2095 | int board_config; |
2096 | int i, err; | 2096 | int i, err; |
2097 | 2097 | ||
2098 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 2098 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
2099 | if (spec == NULL) | 2099 | if (spec == NULL) |
2100 | return -ENOMEM; | 2100 | return -ENOMEM; |
2101 | 2101 | ||
@@ -2367,7 +2367,7 @@ static int patch_alc260(struct hda_codec *codec) | |||
2367 | struct alc_spec *spec; | 2367 | struct alc_spec *spec; |
2368 | int board_config; | 2368 | int board_config; |
2369 | 2369 | ||
2370 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 2370 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
2371 | if (spec == NULL) | 2371 | if (spec == NULL) |
2372 | return -ENOMEM; | 2372 | return -ENOMEM; |
2373 | 2373 | ||
@@ -2617,7 +2617,7 @@ static int patch_alc882(struct hda_codec *codec) | |||
2617 | { | 2617 | { |
2618 | struct alc_spec *spec; | 2618 | struct alc_spec *spec; |
2619 | 2619 | ||
2620 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 2620 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
2621 | if (spec == NULL) | 2621 | if (spec == NULL) |
2622 | return -ENOMEM; | 2622 | return -ENOMEM; |
2623 | 2623 | ||