diff options
Diffstat (limited to 'sound/i2c/other/ak4117.c')
| -rw-r--r-- | sound/i2c/other/ak4117.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/i2c/other/ak4117.c b/sound/i2c/other/ak4117.c index 0419c4336a55..d51b51dd86d6 100644 --- a/sound/i2c/other/ak4117.c +++ b/sound/i2c/other/ak4117.c | |||
| @@ -83,7 +83,7 @@ int snd_ak4117_create(snd_card_t *card, ak4117_read_t *read, ak4117_write_t *wri | |||
| 83 | .dev_free = snd_ak4117_dev_free, | 83 | .dev_free = snd_ak4117_dev_free, |
| 84 | }; | 84 | }; |
| 85 | 85 | ||
| 86 | chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); | 86 | chip = kzalloc(sizeof(*chip), GFP_KERNEL); |
| 87 | if (chip == NULL) | 87 | if (chip == NULL) |
| 88 | return -ENOMEM; | 88 | return -ENOMEM; |
| 89 | spin_lock_init(&chip->lock); | 89 | spin_lock_init(&chip->lock); |
