]> www.infradead.org Git - users/willy/xarray.git/commitdiff
ASoC: amd: acp: remove unused variable from acp_card_drvdata structure
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Tue, 24 Sep 2024 06:18:19 +0000 (11:48 +0530)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:10:40 +0000 (01:10 +0200)
Remove unused 'platform' variable from acp_card_drvdata structure.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20240924061821.1127054-8-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-legacy-mach.c
sound/soc/amd/acp/acp-mach.h
sound/soc/amd/acp/acp-sof-mach.c

index 3526fbe2c84d644b7a4deb7f75a568146e5d5d87..45613a865d2ba7fbd3c0c9f9ea87f17ee39b5c77 100644 (file)
@@ -57,7 +57,6 @@ static struct acp_card_drvdata es83xx_rn_data = {
        .dmic_cpu_id = DMIC,
        .hs_codec_id = ES83XX,
        .dmic_codec_id = DMIC,
-       .platform = RENOIR,
 };
 
 static struct acp_card_drvdata max_nau8825_data = {
@@ -68,7 +67,6 @@ static struct acp_card_drvdata max_nau8825_data = {
        .amp_codec_id = MAX98360A,
        .dmic_codec_id = DMIC,
        .soc_mclk = true,
-       .platform = REMBRANDT,
        .tdm_mode = false,
 };
 
@@ -80,7 +78,6 @@ static struct acp_card_drvdata rt5682s_rt1019_rmb_data = {
        .amp_codec_id = RT1019,
        .dmic_codec_id = DMIC,
        .soc_mclk = true,
-       .platform = REMBRANDT,
        .tdm_mode = false,
 };
 
index 2b6b8b3e1b9477a200c9e846e03f3ae6aceb49a8..414d0175988bef381ae8f043728732cefc5f4225 100644 (file)
@@ -79,7 +79,6 @@ struct acp_card_drvdata {
        unsigned int bt_codec_id;
        unsigned int dmic_codec_id;
        unsigned int dai_fmt;
-       unsigned int platform;
        unsigned int acp_rev;
        struct clk *wclk;
        struct clk *bclk;
index 49aadbadb7e19f930bf9e1125a94ab57aa81bba5..63a9621ede6d6cbd4cdf6a87bb7add1d812cac57 100644 (file)
@@ -46,7 +46,6 @@ static struct acp_card_drvdata sof_rt5682s_rt1019_data = {
        .hs_codec_id = RT5682S,
        .amp_codec_id = RT1019,
        .dmic_codec_id = DMIC,
-       .platform = RENOIR,
 };
 
 static struct acp_card_drvdata sof_rt5682s_max_data = {
@@ -56,7 +55,6 @@ static struct acp_card_drvdata sof_rt5682s_max_data = {
        .hs_codec_id = RT5682S,
        .amp_codec_id = MAX98360A,
        .dmic_codec_id = DMIC,
-       .platform = RENOIR,
 };
 
 static struct acp_card_drvdata sof_nau8825_data = {
@@ -66,7 +64,6 @@ static struct acp_card_drvdata sof_nau8825_data = {
        .hs_codec_id = NAU8825,
        .amp_codec_id = MAX98360A,
        .dmic_codec_id = DMIC,
-       .platform = REMBRANDT,
        .soc_mclk = true,
 };
 
@@ -77,7 +74,6 @@ static struct acp_card_drvdata sof_rt5682s_hs_rt1019_data = {
        .hs_codec_id = RT5682S,
        .amp_codec_id = RT1019,
        .dmic_codec_id = DMIC,
-       .platform = REMBRANDT,
        .soc_mclk = true,
 };