summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas5805m.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/tas5805m.c')
-rw-r--r--sound/soc/codecs/tas5805m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas5805m.c b/sound/soc/codecs/tas5805m.c
index 3b53eba38a0b..4c32500eef3e 100644
--- a/sound/soc/codecs/tas5805m.c
+++ b/sound/soc/codecs/tas5805m.c
@@ -474,7 +474,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;