alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/39] ASoC: fix !OF compile test warnings
@ 2020-11-25 16:44 Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 01/39] ASoC: ak5558: mark OF related data as maybe unused Krzysztof Kozlowski
                   ` (39 more replies)
  0 siblings, 40 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

Hi,

Changes since v1:
1. New patch 2/39: ASoC: bd28623: mark OF related data as maybe unused,
2. Patches 1-13: add maybe_unused after discussions with Mark,
3. Add Sylwester's review to two patches (one changed so please review
   one more time).

Best regards,
Krzysztof


Krzysztof Kozlowski (39):
  ASoC: ak5558: mark OF related data as maybe unused
  ASoC: bd28623: mark OF related data as maybe unused
  ASoC: gtm601: mark OF related data as maybe unused
  ASoC: inno_rk3036: mark OF related data as maybe unused
  ASoC: rk3328: mark OF related data as maybe unused
  ASoC: tas571x: mark OF related data as maybe unused
  ASoC: kirkwood: armada-370-db: mark OF related data as maybe unused
  ASoC: meson: t9015: mark OF related data as maybe unused
  ASoC: qcom: mark OF related data as maybe unused
  ASoC: samsung: smdk_wm8994: mark OF related data as maybe unused
  ASoC: rockchip: mark OF related data as maybe unused
  ASoC: ti: davinci: mark OF related data as maybe unused
  ASoC: uniphier: mark OF related data as maybe unused
  ASoC: ak4118: skip of_device_id table when !CONFIG_OF
  ASoC: alc5623: skip of_device_id table when !CONFIG_OF
  ASoC: alc5632: skip of_device_id table when !CONFIG_OF
  ASoC: da7218: skip of_device_id table when !CONFIG_OF
  ASoC: da7219: skip of_device_id table when !CONFIG_OF
  ASoC: da9055: skip of_device_id table when !CONFIG_OF
  ASoC: es8316: skip of_device_id table when !CONFIG_OF
  ASoC: max98090: skip of_device_id table when !CONFIG_OF
  ASoC: max98095: skip of_device_id table when !CONFIG_OF
  ASoC: max98371: skip of_device_id table when !CONFIG_OF
  ASoC: max9867: skip of_device_id table when !CONFIG_OF
  ASoC: max98925: skip of_device_id table when !CONFIG_OF
  ASoC: max98926: skip of_device_id table when !CONFIG_OF
  ASoC: pcm1789: skip of_device_id table when !CONFIG_OF
  ASoC: pcm179x: skip of_device_id table when !CONFIG_OF
  ASoC: rt5660: skip of_device_id table when !CONFIG_OF
  ASoC: tas2562: skip of_device_id table when !CONFIG_OF
  ASoC: tlv320: skip of_device_id table when !CONFIG_OF
  ASoC: ts3a227e: skip of_device_id table when !CONFIG_OF
  ASoC: es7134: mark OF related data as maybe unused
  ASoC: es7241: mark OF related data as maybe unused
  ASoC: samsung: i2s: mark OF related data as maybe unused
  ASoC: max98371: drop driver pm=NULL assignment
  ASoC: max98925: drop driver pm=NULL assignment
  ASoC: max98926: drop driver pm=NULL assignment
  ASoC: samsung: smdk_wm8994: remove redundant of_match_ptr()

 sound/soc/codecs/ak4118.c           | 2 ++
 sound/soc/codecs/ak5558.c           | 2 +-
 sound/soc/codecs/alc5623.c          | 2 ++
 sound/soc/codecs/alc5632.c          | 2 ++
 sound/soc/codecs/bd28623.c          | 2 +-
 sound/soc/codecs/da7218.c           | 2 ++
 sound/soc/codecs/da7219.c           | 2 ++
 sound/soc/codecs/da9055.c           | 2 ++
 sound/soc/codecs/es7134.c           | 4 ++--
 sound/soc/codecs/es7241.c           | 2 +-
 sound/soc/codecs/es8316.c           | 2 ++
 sound/soc/codecs/gtm601.c           | 2 +-
 sound/soc/codecs/inno_rk3036.c      | 2 +-
 sound/soc/codecs/max98090.c         | 2 ++
 sound/soc/codecs/max98095.c         | 2 ++
 sound/soc/codecs/max98371.c         | 3 ++-
 sound/soc/codecs/max9867.c          | 2 ++
 sound/soc/codecs/max98925.c         | 3 ++-
 sound/soc/codecs/max98926.c         | 3 ++-
 sound/soc/codecs/pcm1789-i2c.c      | 2 ++
 sound/soc/codecs/pcm179x-i2c.c      | 2 ++
 sound/soc/codecs/rk3328_codec.c     | 2 +-
 sound/soc/codecs/rt5660.c           | 2 ++
 sound/soc/codecs/tas2562.c          | 2 ++
 sound/soc/codecs/tas571x.c          | 4 ++--
 sound/soc/codecs/tlv320adcx140.c    | 2 ++
 sound/soc/codecs/tlv320aic23-i2c.c  | 2 ++
 sound/soc/codecs/ts3a227e.c         | 2 ++
 sound/soc/kirkwood/armada-370-db.c  | 2 +-
 sound/soc/meson/t9015.c             | 2 +-
 sound/soc/qcom/apq8016_sbc.c        | 2 +-
 sound/soc/qcom/lpass-apq8016.c      | 2 +-
 sound/soc/qcom/lpass-ipq806x.c      | 2 +-
 sound/soc/qcom/lpass-sc7180.c       | 2 +-
 sound/soc/rockchip/rockchip_i2s.c   | 2 +-
 sound/soc/rockchip/rockchip_pdm.c   | 2 +-
 sound/soc/rockchip/rockchip_spdif.c | 2 +-
 sound/soc/samsung/i2s.c             | 8 ++++----
 sound/soc/samsung/smdk_wm8994.c     | 4 ++--
 sound/soc/ti/davinci-i2s.c          | 2 +-
 sound/soc/uniphier/aio-ld11.c       | 2 +-
 sound/soc/uniphier/aio-pxs2.c       | 2 +-
 sound/soc/uniphier/evea.c           | 2 +-
 43 files changed, 69 insertions(+), 32 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [PATCH v2 01/39] ASoC: ak5558: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 02/39] ASoC: bd28623: " Krzysztof Kozlowski
                   ` (38 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/ak5558.c:418:34: warning: ‘ak5558_i2c_dt_ids’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/ak5558.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/ak5558.c b/sound/soc/codecs/ak5558.c
index 2f076d5ee284..8a32b0139cb0 100644
--- a/sound/soc/codecs/ak5558.c
+++ b/sound/soc/codecs/ak5558.c
@@ -415,7 +415,7 @@ static int ak5558_i2c_remove(struct i2c_client *i2c)
 	return 0;
 }
 
-static const struct of_device_id ak5558_i2c_dt_ids[] = {
+static const struct of_device_id ak5558_i2c_dt_ids[] __maybe_unused = {
 	{ .compatible = "asahi-kasei,ak5558"},
 	{ }
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 02/39] ASoC: bd28623: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 01/39] ASoC: ak5558: mark OF related data as maybe unused Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 03/39] ASoC: gtm601: " Krzysztof Kozlowski
                   ` (37 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/bd28623.c:225:34: warning: ‘bd28623_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

New patch
---
 sound/soc/codecs/bd28623.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/bd28623.c b/sound/soc/codecs/bd28623.c
index 31904ef5c88b..a6267cb86d86 100644
--- a/sound/soc/codecs/bd28623.c
+++ b/sound/soc/codecs/bd28623.c
@@ -222,7 +222,7 @@ static int bd28623_probe(struct platform_device *pdev)
 					       &soc_dai_bd, 1);
 }
 
-static const struct of_device_id bd28623_of_match[] = {
+static const struct of_device_id bd28623_of_match[] __maybe_unused = {
 	{ .compatible = "rohm,bd28623", },
 	{}
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 03/39] ASoC: gtm601: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 01/39] ASoC: ak5558: mark OF related data as maybe unused Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 02/39] ASoC: bd28623: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 04/39] ASoC: inno_rk3036: " Krzysztof Kozlowski
                   ` (36 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/gtm601.c:90:34: warning: ‘gtm601_codec_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/gtm601.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/gtm601.c b/sound/soc/codecs/gtm601.c
index ae9e1c70ca57..e1235e695b0f 100644
--- a/sound/soc/codecs/gtm601.c
+++ b/sound/soc/codecs/gtm601.c
@@ -87,7 +87,7 @@ static int gtm601_platform_probe(struct platform_device *pdev)
 			(struct snd_soc_dai_driver *)dai_driver, 1);
 }
 
-static const struct of_device_id gtm601_codec_of_match[] = {
+static const struct of_device_id gtm601_codec_of_match[] __maybe_unused = {
 	{ .compatible = "option,gtm601", .data = (void *)&gtm601_dai },
 	{ .compatible = "broadmobi,bm818", .data = (void *)&bm818_dai },
 	{},
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 04/39] ASoC: inno_rk3036: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 03/39] ASoC: gtm601: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 05/39] ASoC: rk3328: " Krzysztof Kozlowski
                   ` (35 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/inno_rk3036.c:470:34: warning: ‘rk3036_codec_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/inno_rk3036.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/inno_rk3036.c b/sound/soc/codecs/inno_rk3036.c
index d0e8f0d2fbc1..4dbce24c5f76 100644
--- a/sound/soc/codecs/inno_rk3036.c
+++ b/sound/soc/codecs/inno_rk3036.c
@@ -467,7 +467,7 @@ static int rk3036_codec_platform_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct of_device_id rk3036_codec_of_match[] = {
+static const struct of_device_id rk3036_codec_of_match[] __maybe_unused = {
 	{ .compatible = "rockchip,rk3036-codec", },
 	{}
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 05/39] ASoC: rk3328: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (3 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 04/39] ASoC: inno_rk3036: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 06/39] ASoC: tas571x: " Krzysztof Kozlowski
                   ` (34 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/rk3328_codec.c:502:34: warning: ‘rk3328_codec_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/rk3328_codec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rk3328_codec.c b/sound/soc/codecs/rk3328_codec.c
index 940a2fa933ed..bfefefcc76d8 100644
--- a/sound/soc/codecs/rk3328_codec.c
+++ b/sound/soc/codecs/rk3328_codec.c
@@ -499,7 +499,7 @@ static int rk3328_platform_probe(struct platform_device *pdev)
 					       ARRAY_SIZE(rk3328_dai));
 }
 
-static const struct of_device_id rk3328_codec_of_match[] = {
+static const struct of_device_id rk3328_codec_of_match[] __maybe_unused = {
 		{ .compatible = "rockchip,rk3328-codec", },
 		{},
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 06/39] ASoC: tas571x: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (4 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 05/39] ASoC: rk3328: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 07/39] ASoC: kirkwood: armada-370-db: " Krzysztof Kozlowski
                   ` (33 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/tas571x.c:892:34: warning: ‘tas571x_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/tas571x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index 835a723ce5bc..a3e682376946 100644
--- a/sound/soc/codecs/tas571x.c
+++ b/sound/soc/codecs/tas571x.c
@@ -773,7 +773,7 @@ static struct snd_soc_dai_driver tas571x_dai = {
 	.ops = &tas571x_dai_ops,
 };
 
-static const struct of_device_id tas571x_of_match[];
+static const struct of_device_id tas571x_of_match[] __maybe_unused;
 
 static int tas571x_i2c_probe(struct i2c_client *client,
 			     const struct i2c_device_id *id)
@@ -889,7 +889,7 @@ static int tas571x_i2c_remove(struct i2c_client *client)
 	return 0;
 }
 
-static const struct of_device_id tas571x_of_match[] = {
+static const struct of_device_id tas571x_of_match[] __maybe_unused = {
 	{ .compatible = "ti,tas5707", .data = &tas5707_chip, },
 	{ .compatible = "ti,tas5711", .data = &tas5711_chip, },
 	{ .compatible = "ti,tas5717", .data = &tas5717_chip, },
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 07/39] ASoC: kirkwood: armada-370-db: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (5 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 06/39] ASoC: tas571x: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 08/39] ASoC: meson: t9015: " Krzysztof Kozlowski
                   ` (32 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/kirkwood/armada-370-db.c:137:34: warning: ‘a370db_dt_ids’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/kirkwood/armada-370-db.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/kirkwood/armada-370-db.c b/sound/soc/kirkwood/armada-370-db.c
index 8e44ae37ad1e..81326426da33 100644
--- a/sound/soc/kirkwood/armada-370-db.c
+++ b/sound/soc/kirkwood/armada-370-db.c
@@ -134,7 +134,7 @@ static int a370db_probe(struct platform_device *pdev)
 	return devm_snd_soc_register_card(card->dev, card);
 }
 
-static const struct of_device_id a370db_dt_ids[] = {
+static const struct of_device_id a370db_dt_ids[] __maybe_unused = {
 	{ .compatible = "marvell,a370db-audio" },
 	{ },
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 08/39] ASoC: meson: t9015: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (6 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 07/39] ASoC: kirkwood: armada-370-db: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 09/39] ASoC: qcom: " Krzysztof Kozlowski
                   ` (31 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/meson/t9015.c:315:34: warning: ‘t9015_ids’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/meson/t9015.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/meson/t9015.c b/sound/soc/meson/t9015.c
index 56d2592c16d5..4c1349dd1e06 100644
--- a/sound/soc/meson/t9015.c
+++ b/sound/soc/meson/t9015.c
@@ -312,7 +312,7 @@ static int t9015_probe(struct platform_device *pdev)
 					       &t9015_dai, 1);
 }
 
-static const struct of_device_id t9015_ids[] = {
+static const struct of_device_id t9015_ids[] __maybe_unused = {
 	{ .compatible = "amlogic,t9015", },
 	{ }
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 09/39] ASoC: qcom: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (7 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 08/39] ASoC: meson: t9015: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 10/39] ASoC: samsung: smdk_wm8994: " Krzysztof Kozlowski
                   ` (30 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/qcom/lpass-apq8016.c:294:34: warning: ‘apq8016_lpass_cpu_device_id’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/qcom/apq8016_sbc.c   | 2 +-
 sound/soc/qcom/lpass-apq8016.c | 2 +-
 sound/soc/qcom/lpass-ipq806x.c | 2 +-
 sound/soc/qcom/lpass-sc7180.c  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/qcom/apq8016_sbc.c b/sound/soc/qcom/apq8016_sbc.c
index 575e2aefefe3..270986b2f102 100644
--- a/sound/soc/qcom/apq8016_sbc.c
+++ b/sound/soc/qcom/apq8016_sbc.c
@@ -167,7 +167,7 @@ static int apq8016_sbc_platform_probe(struct platform_device *pdev)
 	return devm_snd_soc_register_card(&pdev->dev, card);
 }
 
-static const struct of_device_id apq8016_sbc_device_id[]  = {
+static const struct of_device_id apq8016_sbc_device_id[] __maybe_unused = {
 	{ .compatible = "qcom,apq8016-sbc-sndcard" },
 	{},
 };
diff --git a/sound/soc/qcom/lpass-apq8016.c b/sound/soc/qcom/lpass-apq8016.c
index 0aedb3a0a798..8507ef8f6679 100644
--- a/sound/soc/qcom/lpass-apq8016.c
+++ b/sound/soc/qcom/lpass-apq8016.c
@@ -291,7 +291,7 @@ static struct lpass_variant apq8016_data = {
 	.free_dma_channel	= apq8016_lpass_free_dma_channel,
 };
 
-static const struct of_device_id apq8016_lpass_cpu_device_id[] = {
+static const struct of_device_id apq8016_lpass_cpu_device_id[] __maybe_unused = {
 	{ .compatible = "qcom,lpass-cpu-apq8016", .data = &apq8016_data },
 	{}
 };
diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c
index 832a9161484e..92f98b4df47f 100644
--- a/sound/soc/qcom/lpass-ipq806x.c
+++ b/sound/soc/qcom/lpass-ipq806x.c
@@ -161,7 +161,7 @@ static struct lpass_variant ipq806x_data = {
 	.free_dma_channel	= ipq806x_lpass_free_dma_channel,
 };
 
-static const struct of_device_id ipq806x_lpass_cpu_device_id[] = {
+static const struct of_device_id ipq806x_lpass_cpu_device_id[] __maybe_unused = {
 	{ .compatible = "qcom,lpass-cpu", .data = &ipq806x_data },
 	{}
 };
diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c
index bc998d501600..86df8a7c6635 100644
--- a/sound/soc/qcom/lpass-sc7180.c
+++ b/sound/soc/qcom/lpass-sc7180.c
@@ -284,7 +284,7 @@ static struct lpass_variant sc7180_data = {
 	.free_dma_channel	= sc7180_lpass_free_dma_channel,
 };
 
-static const struct of_device_id sc7180_lpass_cpu_device_id[] = {
+static const struct of_device_id sc7180_lpass_cpu_device_id[] __maybe_unused = {
 	{.compatible = "qcom,sc7180-lpass-cpu", .data = &sc7180_data},
 	{}
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 10/39] ASoC: samsung: smdk_wm8994: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (8 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 09/39] ASoC: qcom: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 11/39] ASoC: rockchip: " Krzysztof Kozlowski
                   ` (29 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/samsung/smdk_wm8994.c:139:34: warning: ‘samsung_wm8994_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

---

Not adding Sylwester's review as patch changed.
---
 sound/soc/samsung/smdk_wm8994.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index 64a1a64656ab..28d6eb14d7db 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -136,7 +136,7 @@ static struct snd_soc_card smdk = {
 	.num_links = ARRAY_SIZE(smdk_dai),
 };
 
-static const struct of_device_id samsung_wm8994_of_match[] = {
+static const struct of_device_id samsung_wm8994_of_match[] __maybe_unused = {
 	{ .compatible = "samsung,smdk-wm8994", .data = &smdk_board_data },
 	{},
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 11/39] ASoC: rockchip: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (9 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 10/39] ASoC: samsung: smdk_wm8994: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 12/39] ASoC: ti: davinci: " Krzysztof Kozlowski
                   ` (28 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/rockchip/rockchip_i2s.c:569:34: warning: ‘rockchip_i2s_match’ defined but not used [-Wunused-const-variable=]
  sound/soc/rockchip/rockchip_pdm.c:463:34: warning: ‘rockchip_pdm_match’ defined but not used [-Wunused-const-variable=]
  sound/soc/rockchip/rockchip_spdif.c:44:34: warning: ‘rk_spdif_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/rockchip/rockchip_i2s.c   | 2 +-
 sound/soc/rockchip/rockchip_pdm.c   | 2 +-
 sound/soc/rockchip/rockchip_spdif.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c
index 593299675b8c..eae287d905eb 100644
--- a/sound/soc/rockchip/rockchip_i2s.c
+++ b/sound/soc/rockchip/rockchip_i2s.c
@@ -566,7 +566,7 @@ static const struct rk_i2s_pins rk3399_i2s_pins = {
 	.shift = 11,
 };
 
-static const struct of_device_id rockchip_i2s_match[] = {
+static const struct of_device_id rockchip_i2s_match[] __maybe_unused = {
 	{ .compatible = "rockchip,rk3066-i2s", },
 	{ .compatible = "rockchip,rk3188-i2s", },
 	{ .compatible = "rockchip,rk3288-i2s", },
diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c
index 5adb293d0435..e5f732747f71 100644
--- a/sound/soc/rockchip/rockchip_pdm.c
+++ b/sound/soc/rockchip/rockchip_pdm.c
@@ -460,7 +460,7 @@ static const struct regmap_config rockchip_pdm_regmap_config = {
 	.cache_type = REGCACHE_FLAT,
 };
 
-static const struct of_device_id rockchip_pdm_match[] = {
+static const struct of_device_id rockchip_pdm_match[] __maybe_unused = {
 	{ .compatible = "rockchip,pdm",
 	  .data = (void *)RK_PDM_RK3229 },
 	{ .compatible = "rockchip,px30-pdm",
diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c
index 674810851fbc..ffb4ec306441 100644
--- a/sound/soc/rockchip/rockchip_spdif.c
+++ b/sound/soc/rockchip/rockchip_spdif.c
@@ -41,7 +41,7 @@ struct rk_spdif_dev {
 	struct regmap *regmap;
 };
 
-static const struct of_device_id rk_spdif_match[] = {
+static const struct of_device_id rk_spdif_match[] __maybe_unused = {
 	{ .compatible = "rockchip,rk3066-spdif",
 	  .data = (void *)RK_SPDIF_RK3066 },
 	{ .compatible = "rockchip,rk3188-spdif",
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 12/39] ASoC: ti: davinci: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (10 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 11/39] ASoC: rockchip: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 13/39] ASoC: uniphier: " Krzysztof Kozlowski
                   ` (27 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/ti/davinci-i2s.c:750:34: warning: ‘davinci_i2s_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/ti/davinci-i2s.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/ti/davinci-i2s.c b/sound/soc/ti/davinci-i2s.c
index dd34504c09ba..6dca51862dd7 100644
--- a/sound/soc/ti/davinci-i2s.c
+++ b/sound/soc/ti/davinci-i2s.c
@@ -747,7 +747,7 @@ static int davinci_i2s_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct of_device_id davinci_i2s_match[] = {
+static const struct of_device_id davinci_i2s_match[] __maybe_unused = {
 	{ .compatible = "ti,da850-mcbsp" },
 	{},
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 13/39] ASoC: uniphier: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (11 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 12/39] ASoC: ti: davinci: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 14/39] ASoC: ak4118: skip of_device_id table when !CONFIG_OF Krzysztof Kozlowski
                   ` (26 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/uniphier/aio-ld11.c:375:34: warning: ‘uniphier_aio_of_match’ defined but not used [-Wunused-const-variable=]
  sound/soc/uniphier/evea.c:554:34: warning: ‘evea_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/uniphier/aio-ld11.c | 2 +-
 sound/soc/uniphier/aio-pxs2.c | 2 +-
 sound/soc/uniphier/evea.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sound/soc/uniphier/aio-ld11.c b/sound/soc/uniphier/aio-ld11.c
index 8b44f8dc4970..7b3cf5d751f6 100644
--- a/sound/soc/uniphier/aio-ld11.c
+++ b/sound/soc/uniphier/aio-ld11.c
@@ -372,7 +372,7 @@ static const struct uniphier_aio_chip_spec uniphier_aio_ld20_spec = {
 	.addr_ext  = 1,
 };
 
-static const struct of_device_id uniphier_aio_of_match[] = {
+static const struct of_device_id uniphier_aio_of_match[] __maybe_unused = {
 	{
 		.compatible = "socionext,uniphier-ld11-aio",
 		.data = &uniphier_aio_ld11_spec,
diff --git a/sound/soc/uniphier/aio-pxs2.c b/sound/soc/uniphier/aio-pxs2.c
index a1d05fe9d3c2..899904f7ffd6 100644
--- a/sound/soc/uniphier/aio-pxs2.c
+++ b/sound/soc/uniphier/aio-pxs2.c
@@ -282,7 +282,7 @@ static const struct uniphier_aio_chip_spec uniphier_aio_pxs2_spec = {
 	.addr_ext  = 0,
 };
 
-static const struct of_device_id uniphier_aio_of_match[] = {
+static const struct of_device_id uniphier_aio_of_match[] __maybe_unused = {
 	{
 		.compatible = "socionext,uniphier-pxs2-aio",
 		.data = &uniphier_aio_pxs2_spec,
diff --git a/sound/soc/uniphier/evea.c b/sound/soc/uniphier/evea.c
index d27e9ca07856..96343d19a1e0 100644
--- a/sound/soc/uniphier/evea.c
+++ b/sound/soc/uniphier/evea.c
@@ -551,7 +551,7 @@ static int evea_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct of_device_id evea_of_match[] = {
+static const struct of_device_id evea_of_match[] __maybe_unused = {
 	{ .compatible = "socionext,uniphier-evea", },
 	{}
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 14/39] ASoC: ak4118: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (12 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 13/39] ASoC: uniphier: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 15/39] ASoC: alc5623: " Krzysztof Kozlowski
                   ` (25 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/ak4118.c:407:34: warning: ‘ak4118_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/ak4118.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/ak4118.c b/sound/soc/codecs/ak4118.c
index f44d9a4a8507..5d46ae85566c 100644
--- a/sound/soc/codecs/ak4118.c
+++ b/sound/soc/codecs/ak4118.c
@@ -404,11 +404,13 @@ static int ak4118_i2c_probe(struct i2c_client *i2c,
 				&soc_component_drv_ak4118, &ak4118_dai, 1);
 }
 
+#ifdef CONFIG_OF
 static const struct of_device_id ak4118_of_match[] = {
 	{ .compatible = "asahi-kasei,ak4118", },
 	{}
 };
 MODULE_DEVICE_TABLE(of, ak4118_of_match);
+#endif
 
 static const struct i2c_device_id ak4118_id_table[] = {
 	{ "ak4118", 0 },
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 15/39] ASoC: alc5623: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (13 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 14/39] ASoC: ak4118: skip of_device_id table when !CONFIG_OF Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 16/39] ASoC: alc5632: " Krzysztof Kozlowski
                   ` (24 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/alc5623.c:1071:34: warning: ‘alc5623_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/alc5623.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/alc5623.c b/sound/soc/codecs/alc5623.c
index 3d1761a531f5..54f489837162 100644
--- a/sound/soc/codecs/alc5623.c
+++ b/sound/soc/codecs/alc5623.c
@@ -1068,11 +1068,13 @@ static const struct i2c_device_id alc5623_i2c_table[] = {
 };
 MODULE_DEVICE_TABLE(i2c, alc5623_i2c_table);
 
+#ifdef CONFIG_OF
 static const struct of_device_id alc5623_of_match[] = {
 	{ .compatible = "realtek,alc5623", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, alc5623_of_match);
+#endif
 
 /*  i2c codec control layer */
 static struct i2c_driver alc5623_i2c_driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 16/39] ASoC: alc5632: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (14 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 15/39] ASoC: alc5623: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 17/39] ASoC: da7218: " Krzysztof Kozlowski
                   ` (23 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/alc5632.c:1170:34: warning: ‘alc5632_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/alc5632.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 9d6dcd3ffa57..bde5ded67754 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -1167,11 +1167,13 @@ static const struct i2c_device_id alc5632_i2c_table[] = {
 };
 MODULE_DEVICE_TABLE(i2c, alc5632_i2c_table);
 
+#ifdef CONFIG_OF
 static const struct of_device_id alc5632_of_match[] = {
 	{ .compatible = "realtek,alc5632", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, alc5632_of_match);
+#endif
 
 /* i2c codec control layer */
 static struct i2c_driver alc5632_i2c_driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 17/39] ASoC: da7218: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (15 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 16/39] ASoC: alc5632: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 18/39] ASoC: da7219: " Krzysztof Kozlowski
                   ` (22 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/da7218.c:2281:34: warning: ‘da7218_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/da7218.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/da7218.c b/sound/soc/codecs/da7218.c
index 6d78bccb55c3..2bfafbe9e3dc 100644
--- a/sound/soc/codecs/da7218.c
+++ b/sound/soc/codecs/da7218.c
@@ -2278,12 +2278,14 @@ static irqreturn_t da7218_irq_thread(int irq, void *data)
  * DT
  */
 
+#ifdef CONFIG_OF
 static const struct of_device_id da7218_of_match[] = {
 	{ .compatible = "dlg,da7217", .data = (void *) DA7217_DEV_ID },
 	{ .compatible = "dlg,da7218", .data = (void *) DA7218_DEV_ID },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, da7218_of_match);
+#endif
 
 static inline int da7218_of_get_id(struct device *dev)
 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 18/39] ASoC: da7219: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (16 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 17/39] ASoC: da7218: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 19/39] ASoC: da9055: " Krzysztof Kozlowski
                   ` (21 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/da7219.c:1705:34: warning: ‘da7219_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/da7219.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c
index 0b3b7909efc9..e9b45daec0ca 100644
--- a/sound/soc/codecs/da7219.c
+++ b/sound/soc/codecs/da7219.c
@@ -1702,11 +1702,13 @@ static struct snd_soc_dai_driver da7219_dai = {
  * DT/ACPI
  */
 
+#ifdef CONFIG_OF
 static const struct of_device_id da7219_of_match[] = {
 	{ .compatible = "dlg,da7219", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, da7219_of_match);
+#endif
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id da7219_acpi_match[] = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 19/39] ASoC: da9055: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (17 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 18/39] ASoC: da7219: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 20/39] ASoC: es8316: " Krzysztof Kozlowski
                   ` (20 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/da9055.c:1522:34: warning: ‘da9055_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/da9055.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/da9055.c b/sound/soc/codecs/da9055.c
index b0d9ca6de685..aed92f615b02 100644
--- a/sound/soc/codecs/da9055.c
+++ b/sound/soc/codecs/da9055.c
@@ -1519,11 +1519,13 @@ static const struct i2c_device_id da9055_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, da9055_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id da9055_of_match[] = {
 	{ .compatible = "dlg,da9055-codec", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, da9055_of_match);
+#endif
 
 /* I2C codec control layer */
 static struct i2c_driver da9055_i2c_driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 20/39] ASoC: es8316: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (18 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 19/39] ASoC: da9055: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 21/39] ASoC: max98090: " Krzysztof Kozlowski
                   ` (19 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/es8316.c:837:34: warning: ‘es8316_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/es8316.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c
index bd5d230c5df2..f9ec5cf82599 100644
--- a/sound/soc/codecs/es8316.c
+++ b/sound/soc/codecs/es8316.c
@@ -834,11 +834,13 @@ static const struct i2c_device_id es8316_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, es8316_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id es8316_of_match[] = {
 	{ .compatible = "everest,es8316", },
 	{},
 };
 MODULE_DEVICE_TABLE(of, es8316_of_match);
+#endif
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id es8316_acpi_match[] = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 21/39] ASoC: max98090: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (19 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 20/39] ASoC: es8316: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 22/39] ASoC: max98095: " Krzysztof Kozlowski
                   ` (18 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/max98090.c:2671:34: warning: ‘max98090_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98090.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 945a79e4f3eb..06276ff5f8a3 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2668,12 +2668,14 @@ static const struct i2c_device_id max98090_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, max98090_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id max98090_of_match[] = {
 	{ .compatible = "maxim,max98090", },
 	{ .compatible = "maxim,max98091", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, max98090_of_match);
+#endif
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id max98090_acpi_match[] = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 22/39] ASoC: max98095: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (20 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 21/39] ASoC: max98090: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 23/39] ASoC: max98371: " Krzysztof Kozlowski
                   ` (17 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/max98095.c:2151:34: warning: ‘max98095_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98095.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c
index 9bdc6392382a..736cd70be725 100644
--- a/sound/soc/codecs/max98095.c
+++ b/sound/soc/codecs/max98095.c
@@ -2148,11 +2148,13 @@ static const struct i2c_device_id max98095_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, max98095_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id max98095_of_match[] = {
 	{ .compatible = "maxim,max98095", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, max98095_of_match);
+#endif
 
 static struct i2c_driver max98095_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 23/39] ASoC: max98371: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (21 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 22/39] ASoC: max98095: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 24/39] ASoC: max9867: " Krzysztof Kozlowski
                   ` (16 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/max98371.c:411:34: warning: ‘max98371_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98371.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c
index dfee05f985bd..0b438303e1d5 100644
--- a/sound/soc/codecs/max98371.c
+++ b/sound/soc/codecs/max98371.c
@@ -408,11 +408,13 @@ static const struct i2c_device_id max98371_i2c_id[] = {
 
 MODULE_DEVICE_TABLE(i2c, max98371_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id max98371_of_match[] = {
 	{ .compatible = "maxim,max98371", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, max98371_of_match);
+#endif
 
 static struct i2c_driver max98371_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 24/39] ASoC: max9867: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (22 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 23/39] ASoC: max98371: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 25/39] ASoC: max98925: " Krzysztof Kozlowski
                   ` (15 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/max9867.c:652:34: warning: ‘max9867_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max9867.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c
index aef2746bfb94..512e6f2513d3 100644
--- a/sound/soc/codecs/max9867.c
+++ b/sound/soc/codecs/max9867.c
@@ -649,11 +649,13 @@ static const struct i2c_device_id max9867_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, max9867_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id max9867_of_match[] = {
 	{ .compatible = "maxim,max9867", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, max9867_of_match);
+#endif
 
 static struct i2c_driver max9867_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 25/39] ASoC: max98925: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (23 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 24/39] ASoC: max9867: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 26/39] ASoC: max98926: " Krzysztof Kozlowski
                   ` (14 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/max98925.c:630:34: warning: ‘max98925_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98925.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c
index b3e1a54fff88..e18d0022c3f4 100644
--- a/sound/soc/codecs/max98925.c
+++ b/sound/soc/codecs/max98925.c
@@ -627,11 +627,13 @@ static const struct i2c_device_id max98925_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, max98925_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id max98925_of_match[] = {
 	{ .compatible = "maxim,max98925", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, max98925_of_match);
+#endif
 
 static struct i2c_driver max98925_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 26/39] ASoC: max98926: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (24 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 25/39] ASoC: max98925: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 27/39] ASoC: pcm1789: " Krzysztof Kozlowski
                   ` (13 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/max98926.c:574:34: warning: ‘max98926_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98926.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c
index c4dfa8ab1d49..0977e541326d 100644
--- a/sound/soc/codecs/max98926.c
+++ b/sound/soc/codecs/max98926.c
@@ -571,11 +571,13 @@ static const struct i2c_device_id max98926_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, max98926_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id max98926_of_match[] = {
 	{ .compatible = "maxim,max98926", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, max98926_of_match);
+#endif
 
 static struct i2c_driver max98926_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 27/39] ASoC: pcm1789: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (25 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 26/39] ASoC: max98926: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 28/39] ASoC: pcm179x: " Krzysztof Kozlowski
                   ` (12 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/pcm1789-i2c.c:36:34: warning: ‘pcm1789_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/pcm1789-i2c.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/pcm1789-i2c.c b/sound/soc/codecs/pcm1789-i2c.c
index 327ec584f240..7a6be45f8149 100644
--- a/sound/soc/codecs/pcm1789-i2c.c
+++ b/sound/soc/codecs/pcm1789-i2c.c
@@ -33,11 +33,13 @@ static int pcm1789_i2c_remove(struct i2c_client *client)
 	return pcm1789_common_exit(&client->dev);
 }
 
+#ifdef CONFIG_OF
 static const struct of_device_id pcm1789_of_match[] = {
 	{ .compatible = "ti,pcm1789", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, pcm1789_of_match);
+#endif
 
 static const struct i2c_device_id pcm1789_i2c_ids[] = {
 	{ "pcm1789", 0 },
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 28/39] ASoC: pcm179x: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (26 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 27/39] ASoC: pcm1789: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 29/39] ASoC: rt5660: " Krzysztof Kozlowski
                   ` (11 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/pcm179x-i2c.c:33:34: warning: ‘pcm179x_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/pcm179x-i2c.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/pcm179x-i2c.c b/sound/soc/codecs/pcm179x-i2c.c
index 36e01678bef4..34a3d596f288 100644
--- a/sound/soc/codecs/pcm179x-i2c.c
+++ b/sound/soc/codecs/pcm179x-i2c.c
@@ -30,11 +30,13 @@ static int pcm179x_i2c_probe(struct i2c_client *client,
 	return pcm179x_common_init(&client->dev, regmap);
 }
 
+#ifdef CONFIG_OF
 static const struct of_device_id pcm179x_of_match[] = {
 	{ .compatible = "ti,pcm1792a", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, pcm179x_of_match);
+#endif
 
 static const struct i2c_device_id pcm179x_i2c_ids[] = {
 	{ "pcm179x", 0 },
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 29/39] ASoC: rt5660: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (27 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 28/39] ASoC: pcm179x: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 30/39] ASoC: tas2562: " Krzysztof Kozlowski
                   ` (10 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/rt5660.c:1238:34: warning: ‘rt5660_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/rt5660.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/rt5660.c b/sound/soc/codecs/rt5660.c
index 9e3813f7583d..0edf09d3a499 100644
--- a/sound/soc/codecs/rt5660.c
+++ b/sound/soc/codecs/rt5660.c
@@ -1235,11 +1235,13 @@ static const struct i2c_device_id rt5660_i2c_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, rt5660_i2c_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id rt5660_of_match[] = {
 	{ .compatible = "realtek,rt5660", },
 	{},
 };
 MODULE_DEVICE_TABLE(of, rt5660_of_match);
+#endif
 
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id rt5660_acpi_match[] = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 30/39] ASoC: tas2562: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (28 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 29/39] ASoC: rt5660: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 31/39] ASoC: tlv320: " Krzysztof Kozlowski
                   ` (9 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/tas2562.c:805:34: warning: ‘tas2562_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/tas2562.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c
index f1ff204e3ad0..19965fabe949 100644
--- a/sound/soc/codecs/tas2562.c
+++ b/sound/soc/codecs/tas2562.c
@@ -802,6 +802,7 @@ static const struct i2c_device_id tas2562_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, tas2562_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id tas2562_of_match[] = {
 	{ .compatible = "ti,tas2562", },
 	{ .compatible = "ti,tas2563", },
@@ -810,6 +811,7 @@ static const struct of_device_id tas2562_of_match[] = {
 	{ },
 };
 MODULE_DEVICE_TABLE(of, tas2562_of_match);
+#endif
 
 static struct i2c_driver tas2562_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 31/39] ASoC: tlv320: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (29 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 30/39] ASoC: tas2562: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 32/39] ASoC: ts3a227e: " Krzysztof Kozlowski
                   ` (8 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/tlv320aic23-i2c.c:38:34: warning: ‘tlv320aic23_of_match’ defined but not used [-Wunused-const-variable=]
  sound/soc/codecs/tlv320adcx140.c:1076:34: warning: ‘tlv320adcx140_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/tlv320adcx140.c   | 2 ++
 sound/soc/codecs/tlv320aic23-i2c.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sound/soc/codecs/tlv320adcx140.c b/sound/soc/codecs/tlv320adcx140.c
index 53a80246aee1..3f027c8234a6 100644
--- a/sound/soc/codecs/tlv320adcx140.c
+++ b/sound/soc/codecs/tlv320adcx140.c
@@ -1073,6 +1073,7 @@ static struct snd_soc_dai_driver adcx140_dai_driver[] = {
 	}
 };
 
+#ifdef CONFIG_OF
 static const struct of_device_id tlv320adcx140_of_match[] = {
 	{ .compatible = "ti,tlv320adc3140" },
 	{ .compatible = "ti,tlv320adc5140" },
@@ -1080,6 +1081,7 @@ static const struct of_device_id tlv320adcx140_of_match[] = {
 	{},
 };
 MODULE_DEVICE_TABLE(of, tlv320adcx140_of_match);
+#endif
 
 static int adcx140_i2c_probe(struct i2c_client *i2c,
 			     const struct i2c_device_id *id)
diff --git a/sound/soc/codecs/tlv320aic23-i2c.c b/sound/soc/codecs/tlv320aic23-i2c.c
index 5025e5c43783..dbb8f969274c 100644
--- a/sound/soc/codecs/tlv320aic23-i2c.c
+++ b/sound/soc/codecs/tlv320aic23-i2c.c
@@ -35,11 +35,13 @@ static const struct i2c_device_id tlv320aic23_id[] = {
 
 MODULE_DEVICE_TABLE(i2c, tlv320aic23_id);
 
+#ifdef CONFIG_OF
 static const struct of_device_id tlv320aic23_of_match[] = {
 	{ .compatible = "ti,tlv320aic23", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, tlv320aic23_of_match);
+#endif
 
 static struct i2c_driver tlv320aic23_i2c_driver = {
 	.driver = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 32/39] ASoC: ts3a227e: skip of_device_id table when !CONFIG_OF
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (30 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 31/39] ASoC: tlv320: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 33/39] ASoC: es7134: mark OF related data as maybe unused Krzysztof Kozlowski
                   ` (7 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can match by multiple methods.  Its of_device_id table is
referenced via of_match_ptr() so it will be unused for !CONFIG_OF
builds:

  sound/soc/codecs/ts3a227e.c:369:34: warning: ‘ts3a227e_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/ts3a227e.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/ts3a227e.c b/sound/soc/codecs/ts3a227e.c
index 3ed3b45fa7ba..962f5d48378a 100644
--- a/sound/soc/codecs/ts3a227e.c
+++ b/sound/soc/codecs/ts3a227e.c
@@ -366,11 +366,13 @@ static const struct i2c_device_id ts3a227e_i2c_ids[] = {
 };
 MODULE_DEVICE_TABLE(i2c, ts3a227e_i2c_ids);
 
+#ifdef CONFIG_OF
 static const struct of_device_id ts3a227e_of_match[] = {
 	{ .compatible = "ti,ts3a227e", },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, ts3a227e_of_match);
+#endif
 
 #ifdef CONFIG_ACPI
 static struct acpi_device_id ts3a227e_acpi_match[] = {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 33/39] ASoC: es7134: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (31 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 32/39] ASoC: ts3a227e: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 34/39] ASoC: es7241: " Krzysztof Kozlowski
                   ` (6 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/es7134.c:264:33: warning: ‘es7154_chip’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/es7134.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/es7134.c b/sound/soc/codecs/es7134.c
index 00518406eb2b..e2b79879354b 100644
--- a/sound/soc/codecs/es7134.c
+++ b/sound/soc/codecs/es7134.c
@@ -183,7 +183,7 @@ static const struct snd_soc_dapm_route es7134_extra_routes[] = {
 	{ "Playback", NULL, "VDD", }
 };
 
-static const struct es7134_chip es7134_chip = {
+static const struct es7134_chip es7134_chip __maybe_unused = {
 	.dai_drv = &es7134_dai,
 	.modes = es7134_modes,
 	.mode_num = ARRAY_SIZE(es7134_modes),
@@ -261,7 +261,7 @@ static const struct snd_soc_dapm_route es7154_extra_routes[] = {
 	{ "Playback", NULL, "PVDD", }
 };
 
-static const struct es7134_chip es7154_chip = {
+static const struct es7134_chip es7154_chip __maybe_unused = {
 	.dai_drv = &es7154_dai,
 	.modes = es7154_modes,
 	.mode_num = ARRAY_SIZE(es7154_modes),
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 34/39] ASoC: es7241: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (32 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 33/39] ASoC: es7134: mark OF related data as maybe unused Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 35/39] ASoC: samsung: i2s: " Krzysztof Kozlowski
                   ` (5 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/codecs/es7241.c:206:33: warning: ‘es7241_chip’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/es7241.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/es7241.c b/sound/soc/codecs/es7241.c
index 87991bd4acef..2344a0b03518 100644
--- a/sound/soc/codecs/es7241.c
+++ b/sound/soc/codecs/es7241.c
@@ -203,7 +203,7 @@ static const struct es7241_clock_mode es7241_modes[] = {
 	},
 };
 
-static const struct es7241_chip es7241_chip = {
+static const struct es7241_chip es7241_chip __maybe_unused = {
 	.modes = es7241_modes,
 	.mode_num = ARRAY_SIZE(es7241_modes),
 };
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 35/39] ASoC: samsung: i2s: mark OF related data as maybe unused
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (33 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 34/39] ASoC: es7241: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 36/39] ASoC: max98371: drop driver pm=NULL assignment Krzysztof Kozlowski
                   ` (4 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip
  Cc: Sylwester Nawrocki

The driver can be compile tested with !CONFIG_OF making certain data
unused:

  sound/soc/samsung/i2s.c:1646:42: warning: ‘i2sv5_dai_type_i2s1’ defined but not used [-Wunused-const-variable=]
  sound/soc/samsung/i2s.c:1639:42: warning: ‘i2sv7_dai_type’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Sylwester Nawrocki <snawrocki@kernel.org>
---
 sound/soc/samsung/i2s.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index df53d4ea808f..1e89f2a285a9 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -1622,28 +1622,28 @@ static const struct samsung_i2s_dai_data i2sv3_dai_type = {
 	.i2s_variant_regs = &i2sv3_regs,
 };
 
-static const struct samsung_i2s_dai_data i2sv5_dai_type = {
+static const struct samsung_i2s_dai_data i2sv5_dai_type __maybe_unused = {
 	.quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR |
 			QUIRK_SUPPORTS_IDMA,
 	.pcm_rates = SNDRV_PCM_RATE_8000_96000,
 	.i2s_variant_regs = &i2sv3_regs,
 };
 
-static const struct samsung_i2s_dai_data i2sv6_dai_type = {
+static const struct samsung_i2s_dai_data i2sv6_dai_type __maybe_unused = {
 	.quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR |
 			QUIRK_SUPPORTS_TDM | QUIRK_SUPPORTS_IDMA,
 	.pcm_rates = SNDRV_PCM_RATE_8000_96000,
 	.i2s_variant_regs = &i2sv6_regs,
 };
 
-static const struct samsung_i2s_dai_data i2sv7_dai_type = {
+static const struct samsung_i2s_dai_data i2sv7_dai_type __maybe_unused = {
 	.quirks = QUIRK_PRI_6CHAN | QUIRK_SEC_DAI | QUIRK_NEED_RSTCLR |
 			QUIRK_SUPPORTS_TDM,
 	.pcm_rates = SNDRV_PCM_RATE_8000_192000,
 	.i2s_variant_regs = &i2sv7_regs,
 };
 
-static const struct samsung_i2s_dai_data i2sv5_dai_type_i2s1 = {
+static const struct samsung_i2s_dai_data i2sv5_dai_type_i2s1 __maybe_unused = {
 	.quirks = QUIRK_PRI_6CHAN | QUIRK_NEED_RSTCLR,
 	.pcm_rates = SNDRV_PCM_RATE_8000_96000,
 	.i2s_variant_regs = &i2sv5_i2s1_regs,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 36/39] ASoC: max98371: drop driver pm=NULL assignment
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (34 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 35/39] ASoC: samsung: i2s: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 37/39] ASoC: max98925: " Krzysztof Kozlowski
                   ` (3 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

There is no point to explicitly set driver .pm field to NULL.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98371.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c
index 0b438303e1d5..e424779db02b 100644
--- a/sound/soc/codecs/max98371.c
+++ b/sound/soc/codecs/max98371.c
@@ -419,7 +419,6 @@ MODULE_DEVICE_TABLE(of, max98371_of_match);
 static struct i2c_driver max98371_i2c_driver = {
 	.driver = {
 		.name = "max98371",
-		.pm = NULL,
 		.of_match_table = of_match_ptr(max98371_of_match),
 	},
 	.probe  = max98371_i2c_probe,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 37/39] ASoC: max98925: drop driver pm=NULL assignment
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (35 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 36/39] ASoC: max98371: drop driver pm=NULL assignment Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 38/39] ASoC: max98926: " Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

There is no point to explicitly set driver .pm field to NULL.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98925.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c
index e18d0022c3f4..ddaccc24b0cb 100644
--- a/sound/soc/codecs/max98925.c
+++ b/sound/soc/codecs/max98925.c
@@ -639,7 +639,6 @@ static struct i2c_driver max98925_i2c_driver = {
 	.driver = {
 		.name = "max98925",
 		.of_match_table = of_match_ptr(max98925_of_match),
-		.pm = NULL,
 	},
 	.probe  = max98925_i2c_probe,
 	.id_table = max98925_i2c_id,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 38/39] ASoC: max98926: drop driver pm=NULL assignment
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (36 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 37/39] ASoC: max98925: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-25 16:44 ` [PATCH v2 39/39] ASoC: samsung: smdk_wm8994: remove redundant of_match_ptr() Krzysztof Kozlowski
  2020-11-26 20:05 ` [PATCH v2 00/39] ASoC: fix !OF compile test warnings Mark Brown
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip

There is no point to explicitly set driver .pm field to NULL.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 sound/soc/codecs/max98926.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c
index 0977e541326d..f286e572263e 100644
--- a/sound/soc/codecs/max98926.c
+++ b/sound/soc/codecs/max98926.c
@@ -583,7 +583,6 @@ static struct i2c_driver max98926_i2c_driver = {
 	.driver = {
 		.name = "max98926",
 		.of_match_table = of_match_ptr(max98926_of_match),
-		.pm = NULL,
 	},
 	.probe	= max98926_i2c_probe,
 	.id_table = max98926_i2c_id,
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* [PATCH v2 39/39] ASoC: samsung: smdk_wm8994: remove redundant of_match_ptr()
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (37 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 38/39] ASoC: max98926: " Krzysztof Kozlowski
@ 2020-11-25 16:44 ` Krzysztof Kozlowski
  2020-11-26 20:05 ` [PATCH v2 00/39] ASoC: fix !OF compile test warnings Mark Brown
  39 siblings, 0 replies; 41+ messages in thread
From: Krzysztof Kozlowski @ 2020-11-25 16:44 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Support Opensource, Oder Chiou, Kevin Cernekee, Jerome Brunet,
	Kevin Hilman, Neil Armstrong, Martin Blumenstingl, Patrick Lai,
	Banajit Goswami, Heiko Stuebner, Krzysztof Kozlowski,
	Sylwester Nawrocki, Peter Ujfalusi, alsa-devel, linux-kernel,
	linux-arm-kernel, linux-amlogic, linux-rockchip
  Cc: Sylwester Nawrocki

of_match_device() already handles properly !CONFIG_OF case, so passing
the argument via of_match_ptr() is not needed.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Sylwester Nawrocki <snawrocki@kernel.org>
---
 sound/soc/samsung/smdk_wm8994.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index 28d6eb14d7db..681b244d5312 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -170,7 +170,7 @@ static int smdk_audio_probe(struct platform_device *pdev)
 		smdk_dai[0].platforms->of_node = smdk_dai[0].cpus->of_node;
 	}
 
-	id = of_match_device(of_match_ptr(samsung_wm8994_of_match), &pdev->dev);
+	id = of_match_device(samsung_wm8994_of_match, &pdev->dev);
 	if (id)
 		*board = *((struct smdk_wm8994_data *)id->data);
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 41+ messages in thread

* Re: [PATCH v2 00/39] ASoC: fix !OF compile test warnings
  2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
                   ` (38 preceding siblings ...)
  2020-11-25 16:44 ` [PATCH v2 39/39] ASoC: samsung: smdk_wm8994: remove redundant of_match_ptr() Krzysztof Kozlowski
@ 2020-11-26 20:05 ` Mark Brown
  39 siblings, 0 replies; 41+ messages in thread
From: Mark Brown @ 2020-11-26 20:05 UTC (permalink / raw)
  To: linux-amlogic, Patrick Lai, Kevin Hilman, Martin Blumenstingl,
	Liam Girdwood, alsa-devel, Peter Ujfalusi, Takashi Iwai,
	Jaroslav Kysela, Kevin Cernekee, Krzysztof Kozlowski,
	linux-kernel, Oder Chiou, linux-arm-kernel, Sylwester Nawrocki,
	Banajit Goswami, Jerome Brunet, linux-rockchip,
	Support Opensource, Neil Armstrong, Heiko Stuebner

On Wed, 25 Nov 2020 17:44:13 +0100, Krzysztof Kozlowski wrote:
> Changes since v1:
> 1. New patch 2/39: ASoC: bd28623: mark OF related data as maybe unused,
> 2. Patches 1-13: add maybe_unused after discussions with Mark,
> 3. Add Sylwester's review to two patches (one changed so please review
>    one more time).
> 
> Best regards,
> Krzysztof
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[01/39] ASoC: ak5558: mark OF related data as maybe unused
        commit: 9f34c04057232ca2688d26416d3f0011c5ea5377
[02/39] ASoC: bd28623: mark OF related data as maybe unused
        commit: 1bab2b22675f2e4bd498a7688b681839a7ecece0
[03/39] ASoC: gtm601: mark OF related data as maybe unused
        commit: 03219faf153c3adb93d68355a8ccbaa48e40735f
[04/39] ASoC: inno_rk3036: mark OF related data as maybe unused
        commit: 66b9890634690c71910c8dd41f273e87f9bc4b4a
[05/39] ASoC: rk3328: mark OF related data as maybe unused
        commit: 84902aec0886e1a8fdd26ae6b8a65fb2c26018a8
[06/39] ASoC: tas571x: mark OF related data as maybe unused
        commit: f38c0b1e8a63439edc234a65bb549d3c6e49e66e
[07/39] ASoC: kirkwood: armada-370-db: mark OF related data as maybe unused
        commit: d013a59a199e81582c6435a924a23ed393279b07
[08/39] ASoC: meson: t9015: mark OF related data as maybe unused
        commit: b397f02171e6d6ca9b77e4cfec73c0dfe2345562
[09/39] ASoC: qcom: mark OF related data as maybe unused
        commit: 377c7b7cc11d80acf85101416d1122135f997dc5
[10/39] ASoC: samsung: smdk_wm8994: mark OF related data as maybe unused
        commit: 3285b6623653befaf97687d418c99531a09037db
[11/39] ASoC: rockchip: mark OF related data as maybe unused
        commit: 56af27ad5f363e030a1191da459460fcb70cf76a
[12/39] ASoC: ti: davinci: mark OF related data as maybe unused
        commit: 4bad6ec57d8045046ae8f8e410a16c1ad9d652f2
[13/39] ASoC: uniphier: mark OF related data as maybe unused
        commit: c0b7cf59971e9f5fd1960774dc8a1728777cd437
[14/39] ASoC: ak4118: skip of_device_id table when !CONFIG_OF
        commit: bda20fb03e54c261b6ff8b0d04344ed9a1812338
[15/39] ASoC: alc5623: skip of_device_id table when !CONFIG_OF
        commit: d11f8974896817382f8adda8b6c9071387cb2ce0
[16/39] ASoC: alc5632: skip of_device_id table when !CONFIG_OF
        commit: 5207e768347dbb3249ee83979e868850b4b9d23b
[17/39] ASoC: da7218: skip of_device_id table when !CONFIG_OF
        commit: a06cd8cf97a336c87a98c7e64e5692c5391b50e6
[18/39] ASoC: da7219: skip of_device_id table when !CONFIG_OF
        commit: a7de367daa8412fe854a255c2b4ff5bd4399c00a
[19/39] ASoC: da9055: skip of_device_id table when !CONFIG_OF
        commit: a25b45dc143748354947cbc30b682deacb27978f
[20/39] ASoC: es8316: skip of_device_id table when !CONFIG_OF
        commit: 75333af40a25ca33179cbbe68019da0b9a123262
[21/39] ASoC: max98090: skip of_device_id table when !CONFIG_OF
        commit: ac792c0ab3db9392bbbc7023fefb41bc9d467bfc
[22/39] ASoC: max98095: skip of_device_id table when !CONFIG_OF
        commit: a5a196bf0a0b9af14e0170282a3c8d8febe9fe64
[23/39] ASoC: max98371: skip of_device_id table when !CONFIG_OF
        commit: e77332c3e741e88ea025c9d0fbb22c833cdb01ad
[24/39] ASoC: max9867: skip of_device_id table when !CONFIG_OF
        commit: 682e22193120a87a25ed7d7a71bbac682a33e2ee
[25/39] ASoC: max98925: skip of_device_id table when !CONFIG_OF
        commit: d39d9cb5a2c9526c19e2d3a0a43465d49143426d
[26/39] ASoC: max98926: skip of_device_id table when !CONFIG_OF
        commit: fff68ff65129525c88d52a05a55cabff5a4b0821
[27/39] ASoC: pcm1789: skip of_device_id table when !CONFIG_OF
        commit: 36cbbf009f229fe27eac869cb279de1f80aa654b
[28/39] ASoC: pcm179x: skip of_device_id table when !CONFIG_OF
        commit: e2baf7fa3e84a6f1fb930f10547401d9363b4caf
[29/39] ASoC: rt5660: skip of_device_id table when !CONFIG_OF
        commit: c7bfb25333526463ffc38b5c3460e6778e474c9d
[30/39] ASoC: tas2562: skip of_device_id table when !CONFIG_OF
        commit: 68591e8aa122b43e5f9c6eb5cf49c559e5d6300e
[31/39] ASoC: tlv320: skip of_device_id table when !CONFIG_OF
        commit: 762e0b8baf63b1bb534254f89148884c873363f3
[32/39] ASoC: ts3a227e: skip of_device_id table when !CONFIG_OF
        commit: 62bd3054af54d4d55267a623c4d938fd42f48b59
[33/39] ASoC: es7134: mark OF related data as maybe unused
        commit: 418fb63003f6e2d99d6f6eb6ba25e1576bf55348
[34/39] ASoC: es7241: mark OF related data as maybe unused
        commit: 55c259bf06e5f7a899411e474a48d79cf1a0a2f6
[35/39] ASoC: samsung: i2s: mark OF related data as maybe unused
        commit: da773b2b45f9de4f44bd62db8b291e2b0a4c3f5b
[36/39] ASoC: max98371: drop driver pm=NULL assignment
        commit: fe4b501e56af81f88215f943c2caef5eded26920
[37/39] ASoC: max98925: drop driver pm=NULL assignment
        commit: 0eb97389cc4d470b3fdf5384f70f4dc074004843
[38/39] ASoC: max98926: drop driver pm=NULL assignment
        commit: c37de70121a03415acd4c7de58a65c4a55ab4c6b
[39/39] ASoC: samsung: smdk_wm8994: remove redundant of_match_ptr()
        commit: 0670c9a7239a478ec9675fa82d7ee0a86ef22fe5

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2020-11-26 20:06 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-25 16:44 [PATCH v2 00/39] ASoC: fix !OF compile test warnings Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 01/39] ASoC: ak5558: mark OF related data as maybe unused Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 02/39] ASoC: bd28623: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 03/39] ASoC: gtm601: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 04/39] ASoC: inno_rk3036: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 05/39] ASoC: rk3328: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 06/39] ASoC: tas571x: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 07/39] ASoC: kirkwood: armada-370-db: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 08/39] ASoC: meson: t9015: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 09/39] ASoC: qcom: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 10/39] ASoC: samsung: smdk_wm8994: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 11/39] ASoC: rockchip: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 12/39] ASoC: ti: davinci: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 13/39] ASoC: uniphier: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 14/39] ASoC: ak4118: skip of_device_id table when !CONFIG_OF Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 15/39] ASoC: alc5623: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 16/39] ASoC: alc5632: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 17/39] ASoC: da7218: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 18/39] ASoC: da7219: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 19/39] ASoC: da9055: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 20/39] ASoC: es8316: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 21/39] ASoC: max98090: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 22/39] ASoC: max98095: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 23/39] ASoC: max98371: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 24/39] ASoC: max9867: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 25/39] ASoC: max98925: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 26/39] ASoC: max98926: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 27/39] ASoC: pcm1789: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 28/39] ASoC: pcm179x: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 29/39] ASoC: rt5660: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 30/39] ASoC: tas2562: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 31/39] ASoC: tlv320: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 32/39] ASoC: ts3a227e: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 33/39] ASoC: es7134: mark OF related data as maybe unused Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 34/39] ASoC: es7241: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 35/39] ASoC: samsung: i2s: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 36/39] ASoC: max98371: drop driver pm=NULL assignment Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 37/39] ASoC: max98925: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 38/39] ASoC: max98926: " Krzysztof Kozlowski
2020-11-25 16:44 ` [PATCH v2 39/39] ASoC: samsung: smdk_wm8994: remove redundant of_match_ptr() Krzysztof Kozlowski
2020-11-26 20:05 ` [PATCH v2 00/39] ASoC: fix !OF compile test warnings Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).