ASoC: acpi: remove hard-coded i2c-device name length
[sfrench/cifs-2.6.git] / sound / soc / intel / boards / cht_bsw_rt5672.c
index f8f21eee9b2d373e4d8c60e8d696286e598e0ad0..1f3d38dc4fcbff797e0385c6f2972d46f5df407d 100644 (file)
@@ -35,7 +35,7 @@
 
 struct cht_mc_private {
        struct snd_soc_jack headset;
-       char codec_name[16];
+       char codec_name[SND_ACPI_I2C_ID_LEN];
        struct clk *mclk;
 };