diff options
Diffstat (limited to 'sound/i2c/other/ak4114.c')
-rw-r--r-- | sound/i2c/other/ak4114.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4114.c b/sound/i2c/other/ak4114.c index 5adde308a00f..af5eadcddd92 100644 --- a/sound/i2c/other/ak4114.c +++ b/sound/i2c/other/ak4114.c | |||
@@ -92,7 +92,7 @@ int snd_ak4114_create(snd_card_t *card, | |||
92 | .dev_free = snd_ak4114_dev_free, | 92 | .dev_free = snd_ak4114_dev_free, |
93 | }; | 93 | }; |
94 | 94 | ||
95 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 95 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
96 | if (chip == NULL) | 96 | if (chip == NULL) |
97 | return -ENOMEM; | 97 | return -ENOMEM; |
98 | spin_lock_init(&chip->lock); | 98 | spin_lock_init(&chip->lock); |