Message ID | 6a6c87d3-9e4f-4980-ae06-b0d5e16dd0c0@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ASoC: tas5805m: Adjustments for tas5805m_i2c_probe() | expand |
diff --git a/sound/soc/codecs/tas5805m.c b/sound/soc/codecs/tas5805m.c index f37eec960364..d4f028451071 100644 --- a/sound/soc/codecs/tas5805m.c +++ b/sound/soc/codecs/tas5805m.c @@ -473,7 +473,7 @@ static int tas5805m_i2c_probe(struct i2c_client *i2c) return ret; } - tas5805m = devm_kzalloc(dev, sizeof(struct tas5805m_priv), GFP_KERNEL); + tas5805m = devm_kzalloc(dev, sizeof(*tas5805m), GFP_KERNEL); if (!tas5805m) return -ENOMEM;