* [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro
@ 2013-11-21 14:38 Fabio Estevam
2013-11-21 14:38 ` [PATCH 01/18] ASoC: cs4271: " Fabio Estevam
` (18 more replies)
0 siblings, 19 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
^ permalink raw reply [flat|nested] 35+ messages in thread
* [PATCH 01/18] ASoC: cs4271: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:12 ` Mark Brown
2013-11-21 14:38 ` [PATCH 02/18] ASoC: cs42l52: " Fabio Estevam
` (17 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/cs4271.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/cs4271.c b/sound/soc/codecs/cs4271.c
index f6e9534..ce05fd9 100644
--- a/sound/soc/codecs/cs4271.c
+++ b/sound/soc/codecs/cs4271.c
@@ -675,7 +675,7 @@ static struct spi_driver cs4271_spi_driver = {
};
#endif /* defined(CONFIG_SPI_MASTER) */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static const struct i2c_device_id cs4271_i2c_id[] = {
{"cs4271", 0},
{}
@@ -728,7 +728,7 @@ static struct i2c_driver cs4271_i2c_driver = {
.probe = cs4271_i2c_probe,
.remove = cs4271_i2c_remove,
};
-#endif /* defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) */
+#endif /* IS_ENABLED(CONFIG_I2C) */
/*
* We only register our serial bus driver here without
@@ -741,7 +741,7 @@ static int __init cs4271_modinit(void)
{
int ret;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&cs4271_i2c_driver);
if (ret) {
pr_err("Failed to register CS4271 I2C driver: %d\n", ret);
@@ -767,7 +767,7 @@ static void __exit cs4271_modexit(void)
spi_unregister_driver(&cs4271_spi_driver);
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&cs4271_i2c_driver);
#endif
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 02/18] ASoC: cs42l52: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
2013-11-21 14:38 ` [PATCH 01/18] ASoC: cs4271: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:11 ` Mark Brown
2013-11-21 14:38 ` [PATCH 03/18] ASoC: da7210: " Fabio Estevam
` (16 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/cs42l52.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index 8b427c9..19ee10b 100644
--- a/sound/soc/codecs/cs42l52.c
+++ b/sound/soc/codecs/cs42l52.c
@@ -50,7 +50,7 @@ struct cs42l52_private {
u8 mclksel;
u32 mclk;
u8 flags;
-#if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
+#if IS_ENABLED(CONFIG_INPUT)
struct input_dev *beep;
struct work_struct beep_work;
int beep_rate;
@@ -953,7 +953,7 @@ static int cs42l52_resume(struct snd_soc_codec *codec)
return 0;
}
-#if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
+#if IS_ENABLED(CONFIG_INPUT)
static int beep_rates[] = {
261, 522, 585, 667, 706, 774, 889, 1000,
1043, 1200, 1333, 1412, 1600, 1714, 2000, 2182
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 03/18] ASoC: da7210: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
2013-11-21 14:38 ` [PATCH 01/18] ASoC: cs4271: " Fabio Estevam
2013-11-21 14:38 ` [PATCH 02/18] ASoC: cs42l52: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:38 ` Fabio Estevam
` (15 subsequent siblings)
18 siblings, 0 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/da7210.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index 9c12314..8166dcb 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -1188,7 +1188,7 @@ static struct snd_soc_codec_driver soc_codec_dev_da7210 = {
.num_dapm_routes = ARRAY_SIZE(da7210_audio_map),
};
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static struct reg_default da7210_regmap_i2c_patch[] = {
@@ -1362,7 +1362,7 @@ static struct spi_driver da7210_spi_driver = {
static int __init da7210_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&da7210_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
@@ -1378,7 +1378,7 @@ module_init(da7210_modinit);
static void __exit da7210_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&da7210_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 03/18] ASoC: da7210: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (2 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 03/18] ASoC: da7210: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:38 ` [PATCH 04/18] ASoC: ssm2602: " Fabio Estevam
` (14 subsequent siblings)
18 siblings, 0 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/da7210.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c
index 9c12314..8166dcb 100644
--- a/sound/soc/codecs/da7210.c
+++ b/sound/soc/codecs/da7210.c
@@ -1188,7 +1188,7 @@ static struct snd_soc_codec_driver soc_codec_dev_da7210 = {
.num_dapm_routes = ARRAY_SIZE(da7210_audio_map),
};
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static struct reg_default da7210_regmap_i2c_patch[] = {
@@ -1362,7 +1362,7 @@ static struct spi_driver da7210_spi_driver = {
static int __init da7210_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&da7210_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
@@ -1378,7 +1378,7 @@ module_init(da7210_modinit);
static void __exit da7210_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&da7210_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 04/18] ASoC: ssm2602: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (3 preceding siblings ...)
2013-11-21 14:38 ` Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:13 ` Mark Brown
2013-11-21 14:38 ` [PATCH 05/18] ASoC: wm8731: " Fabio Estevam
` (13 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel, Fabio Estevam
From: Fabio Estevam <festevam@gmail.com>
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/ssm2602.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/ssm2602.c b/sound/soc/codecs/ssm2602.c
index 492644e..480074d 100644
--- a/sound/soc/codecs/ssm2602.c
+++ b/sound/soc/codecs/ssm2602.c
@@ -730,7 +730,7 @@ static struct spi_driver ssm2602_spi_driver = {
};
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
/*
* ssm2602 2 wire address is determined by GPIO5
* state during powerup.
@@ -797,7 +797,7 @@ static int __init ssm2602_modinit(void)
return ret;
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&ssm2602_i2c_driver);
if (ret)
return ret;
@@ -813,7 +813,7 @@ static void __exit ssm2602_exit(void)
spi_unregister_driver(&ssm2602_spi_driver);
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&ssm2602_i2c_driver);
#endif
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 05/18] ASoC: wm8731: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (4 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 04/18] ASoC: ssm2602: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:14 ` Mark Brown
2013-11-21 14:38 ` [PATCH 06/18] ASoC: wm8737: " Fabio Estevam
` (12 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8731.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8731.c b/sound/soc/codecs/wm8731.c
index 456bb8c..6117107 100644
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -732,7 +732,7 @@ static struct spi_driver wm8731_spi_driver = {
};
#endif /* CONFIG_SPI_MASTER */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8731_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -791,7 +791,7 @@ static struct i2c_driver wm8731_i2c_driver = {
static int __init wm8731_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8731_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register WM8731 I2C driver: %d\n",
@@ -811,7 +811,7 @@ module_init(wm8731_modinit);
static void __exit wm8731_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8731_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 06/18] ASoC: wm8737: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (5 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 05/18] ASoC: wm8731: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:14 ` Mark Brown
2013-11-21 14:38 ` [PATCH 07/18] ASoC:: wm8741: " Fabio Estevam
` (11 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8737.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8737.c b/sound/soc/codecs/wm8737.c
index 2f167a8..22de242 100644
--- a/sound/soc/codecs/wm8737.c
+++ b/sound/soc/codecs/wm8737.c
@@ -644,7 +644,7 @@ static const struct regmap_config wm8737_regmap = {
.volatile_reg = wm8737_volatile,
};
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8737_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -758,7 +758,7 @@ static struct spi_driver wm8737_spi_driver = {
static int __init wm8737_modinit(void)
{
int ret;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8737_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register WM8737 I2C driver: %d\n",
@@ -781,7 +781,7 @@ static void __exit wm8737_exit(void)
#if defined(CONFIG_SPI_MASTER)
spi_unregister_driver(&wm8737_spi_driver);
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8737_i2c_driver);
#endif
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 07/18] ASoC:: wm8741: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (6 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 06/18] ASoC: wm8737: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:15 ` Mark Brown
2013-11-21 14:38 ` [PATCH 08/18] ASoC:: wm8750: " Fabio Estevam
` (10 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8741.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8741.c b/sound/soc/codecs/wm8741.c
index b18813c..2895c8d 100644
--- a/sound/soc/codecs/wm8741.c
+++ b/sound/soc/codecs/wm8741.c
@@ -500,7 +500,7 @@ static const struct regmap_config wm8741_regmap = {
.readable_reg = wm8741_readable,
};
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8741_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -617,7 +617,7 @@ static int __init wm8741_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8741_i2c_driver);
if (ret != 0)
pr_err("Failed to register WM8741 I2C driver: %d\n", ret);
@@ -639,7 +639,7 @@ static void __exit wm8741_exit(void)
#if defined(CONFIG_SPI_MASTER)
spi_unregister_driver(&wm8741_spi_driver);
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8741_i2c_driver);
#endif
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 08/18] ASoC:: wm8750: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (7 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 07/18] ASoC:: wm8741: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:15 ` Mark Brown
2013-11-21 14:38 ` [PATCH 09/18] ASoC: wm8753: " Fabio Estevam
` (9 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8750.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8750.c b/sound/soc/codecs/wm8750.c
index 50d5ff6..78616a6 100644
--- a/sound/soc/codecs/wm8750.c
+++ b/sound/soc/codecs/wm8750.c
@@ -816,7 +816,7 @@ static struct spi_driver wm8750_spi_driver = {
};
#endif /* CONFIG_SPI_MASTER */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8750_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -868,7 +868,7 @@ static struct i2c_driver wm8750_i2c_driver = {
static int __init wm8750_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8750_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register wm8750 I2C driver: %d\n",
@@ -888,7 +888,7 @@ module_init(wm8750_modinit);
static void __exit wm8750_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8750_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 09/18] ASoC: wm8753: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (8 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 08/18] ASoC:: wm8750: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:16 ` Mark Brown
2013-11-21 14:38 ` [PATCH 10/18] ASoC: wm8776: " Fabio Estevam
` (8 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8753.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8753.c b/sound/soc/codecs/wm8753.c
index d96ebf5..be85da9 100644
--- a/sound/soc/codecs/wm8753.c
+++ b/sound/soc/codecs/wm8753.c
@@ -1596,7 +1596,7 @@ static struct spi_driver wm8753_spi_driver = {
};
#endif /* CONFIG_SPI_MASTER */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8753_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -1653,7 +1653,7 @@ static struct i2c_driver wm8753_i2c_driver = {
static int __init wm8753_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8753_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register wm8753 I2C driver: %d\n",
@@ -1673,7 +1673,7 @@ module_init(wm8753_modinit);
static void __exit wm8753_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8753_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 10/18] ASoC: wm8776: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (9 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 09/18] ASoC: wm8753: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:38 ` [PATCH 11/18] ASoC: wm8804: " Fabio Estevam
` (7 subsequent siblings)
18 siblings, 0 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8776.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8776.c b/sound/soc/codecs/wm8776.c
index 942d58e..ef82467 100644
--- a/sound/soc/codecs/wm8776.c
+++ b/sound/soc/codecs/wm8776.c
@@ -532,7 +532,7 @@ static struct spi_driver wm8776_spi_driver = {
};
#endif /* CONFIG_SPI_MASTER */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8776_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -584,7 +584,7 @@ static struct i2c_driver wm8776_i2c_driver = {
static int __init wm8776_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8776_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register wm8776 I2C driver: %d\n",
@@ -604,7 +604,7 @@ module_init(wm8776_modinit);
static void __exit wm8776_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8776_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 11/18] ASoC: wm8804: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (10 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 10/18] ASoC: wm8776: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:38 ` [PATCH 12/18] ASoC: wm8900: " Fabio Estevam
` (6 subsequent siblings)
18 siblings, 0 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8804.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8804.c b/sound/soc/codecs/wm8804.c
index 1704b1e..9bc8206 100644
--- a/sound/soc/codecs/wm8804.c
+++ b/sound/soc/codecs/wm8804.c
@@ -739,7 +739,7 @@ static struct spi_driver wm8804_spi_driver = {
};
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8804_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -791,7 +791,7 @@ static int __init wm8804_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8804_i2c_driver);
if (ret) {
printk(KERN_ERR "Failed to register wm8804 I2C driver: %d\n",
@@ -811,7 +811,7 @@ module_init(wm8804_modinit);
static void __exit wm8804_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8804_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 12/18] ASoC: wm8900: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (11 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 11/18] ASoC: wm8804: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:19 ` Mark Brown
2013-11-21 14:38 ` [PATCH 13/18] ASoC: wm8983: " Fabio Estevam
` (5 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8900.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c
index 734209e..e98bc70 100644
--- a/sound/soc/codecs/wm8900.c
+++ b/sound/soc/codecs/wm8900.c
@@ -1288,7 +1288,7 @@ static struct spi_driver wm8900_spi_driver = {
};
#endif /* CONFIG_SPI_MASTER */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8900_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -1338,7 +1338,7 @@ static struct i2c_driver wm8900_i2c_driver = {
static int __init wm8900_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8900_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register wm8900 I2C driver: %d\n",
@@ -1358,7 +1358,7 @@ module_init(wm8900_modinit);
static void __exit wm8900_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8900_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 13/18] ASoC: wm8983: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (12 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 12/18] ASoC: wm8900: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:20 ` Mark Brown
2013-11-21 14:38 ` [PATCH 14/18] ASoC: wm8985: " Fabio Estevam
` (4 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8983.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8983.c b/sound/soc/codecs/wm8983.c
index aa41ba0..3bae71d 100644
--- a/sound/soc/codecs/wm8983.c
+++ b/sound/soc/codecs/wm8983.c
@@ -1129,7 +1129,7 @@ static struct spi_driver wm8983_spi_driver = {
};
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8983_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -1182,7 +1182,7 @@ static int __init wm8983_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8983_i2c_driver);
if (ret) {
printk(KERN_ERR "Failed to register wm8983 I2C driver: %d\n",
@@ -1202,7 +1202,7 @@ module_init(wm8983_modinit);
static void __exit wm8983_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8983_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 14/18] ASoC: wm8985: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (13 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 13/18] ASoC: wm8983: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:20 ` Mark Brown
2013-11-21 14:38 ` [PATCH 15/18] ASoC: wm8988: " Fabio Estevam
` (3 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8985.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8985.c b/sound/soc/codecs/wm8985.c
index 18f2bab..271b517 100644
--- a/sound/soc/codecs/wm8985.c
+++ b/sound/soc/codecs/wm8985.c
@@ -1148,7 +1148,7 @@ static struct spi_driver wm8985_spi_driver = {
};
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8985_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -1201,7 +1201,7 @@ static int __init wm8985_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8985_i2c_driver);
if (ret) {
printk(KERN_ERR "Failed to register wm8985 I2C driver: %d\n",
@@ -1221,7 +1221,7 @@ module_init(wm8985_modinit);
static void __exit wm8985_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8985_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 15/18] ASoC: wm8988: Use IS_ENABLED() macro
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (14 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 14/18] ASoC: wm8985: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-27 18:21 ` Mark Brown
2013-11-21 14:38 ` [PATCH 16/18] ASoC: wm8990: Fabio Estevam
` (2 subsequent siblings)
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Using the IS_ENABLED() macro can make the code shorter and simpler.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8988.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8988.c b/sound/soc/codecs/wm8988.c
index 39b9acc..a55e1c2 100644
--- a/sound/soc/codecs/wm8988.c
+++ b/sound/soc/codecs/wm8988.c
@@ -912,7 +912,7 @@ static struct spi_driver wm8988_spi_driver = {
};
#endif /* CONFIG_SPI_MASTER */
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8988_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -964,7 +964,7 @@ static struct i2c_driver wm8988_i2c_driver = {
static int __init wm8988_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8988_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register WM8988 I2C driver: %d\n",
@@ -984,7 +984,7 @@ module_init(wm8988_modinit);
static void __exit wm8988_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8988_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 16/18] ASoC: wm8990:
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (15 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 15/18] ASoC: wm8988: " Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:49 ` Mark Brown
2013-11-21 14:38 ` [PATCH 17/18] ASoC: wm8995: Fabio Estevam
2013-11-21 14:38 ` [PATCH 18/18] AsoC: wm9081: Fabio Estevam
18 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8990.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8990.c b/sound/soc/codecs/wm8990.c
index 253c88b..34f0020 100644
--- a/sound/soc/codecs/wm8990.c
+++ b/sound/soc/codecs/wm8990.c
@@ -1376,7 +1376,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8990 = {
.volatile_register = wm8990_volatile_register,
};
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8990_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -1423,7 +1423,7 @@ static struct i2c_driver wm8990_i2c_driver = {
static int __init wm8990_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8990_i2c_driver);
if (ret != 0) {
printk(KERN_ERR "Failed to register wm8990 I2C driver: %d\n",
@@ -1436,7 +1436,7 @@ module_init(wm8990_modinit);
static void __exit wm8990_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8990_i2c_driver);
#endif
}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 17/18] ASoC: wm8995:
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (16 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 16/18] ASoC: wm8990: Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:38 ` [PATCH 18/18] AsoC: wm9081: Fabio Estevam
18 siblings, 0 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm8995.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/wm8995.c b/sound/soc/codecs/wm8995.c
index da2899e6..4300caf 100644
--- a/sound/soc/codecs/wm8995.c
+++ b/sound/soc/codecs/wm8995.c
@@ -2293,7 +2293,7 @@ static struct spi_driver wm8995_spi_driver = {
};
#endif
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm8995_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
@@ -2350,7 +2350,7 @@ static int __init wm8995_modinit(void)
{
int ret = 0;
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
ret = i2c_add_driver(&wm8995_i2c_driver);
if (ret) {
printk(KERN_ERR "Failed to register wm8995 I2C driver: %d\n",
@@ -2371,7 +2371,7 @@ module_init(wm8995_modinit);
static void __exit wm8995_exit(void)
{
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
i2c_del_driver(&wm8995_i2c_driver);
#endif
#if defined(CONFIG_SPI_MASTER)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* [PATCH 18/18] AsoC: wm9081:
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
` (17 preceding siblings ...)
2013-11-21 14:38 ` [PATCH 17/18] ASoC: wm8995: Fabio Estevam
@ 2013-11-21 14:38 ` Fabio Estevam
18 siblings, 0 replies; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:38 UTC (permalink / raw)
To: broonie; +Cc: Fabio Estevam, alsa-devel
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
sound/soc/codecs/wm9081.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c
index 630b3d7..0982c1d 100644
--- a/sound/soc/codecs/wm9081.c
+++ b/sound/soc/codecs/wm9081.c
@@ -1326,7 +1326,7 @@ static const struct regmap_config wm9081_regmap = {
.cache_type = REGCACHE_RBTREE,
};
-#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
+#if IS_ENABLED(CONFIG_I2C)
static int wm9081_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)
{
--
1.8.1.2
^ permalink raw reply related [flat|nested] 35+ messages in thread
* Re: [PATCH 16/18] ASoC: wm8990:
2013-11-21 14:38 ` [PATCH 16/18] ASoC: wm8990: Fabio Estevam
@ 2013-11-21 14:49 ` Mark Brown
2013-11-21 14:50 ` Fabio Estevam
0 siblings, 1 reply; 35+ messages in thread
From: Mark Brown @ 2013-11-21 14:49 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 171 bytes --]
On Thu, Nov 21, 2013 at 12:38:54PM -0200, Fabio Estevam wrote:
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Please supply subject lines for your patches.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 16/18] ASoC: wm8990:
2013-11-21 14:49 ` Mark Brown
@ 2013-11-21 14:50 ` Fabio Estevam
2013-11-21 18:38 ` Mark Brown
0 siblings, 1 reply; 35+ messages in thread
From: Fabio Estevam @ 2013-11-21 14:50 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel
On 11/21/2013 12:49 PM, Mark Brown wrote:
> On Thu, Nov 21, 2013 at 12:38:54PM -0200, Fabio Estevam wrote:
>> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
>
> Please supply subject lines for your patches.
Yes, sorry about that.
I have sent a v2 with only 16, 17 and 18 that missed the Subject and
commit log originally.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 16/18] ASoC: wm8990:
2013-11-21 14:50 ` Fabio Estevam
@ 2013-11-21 18:38 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-21 18:38 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 195 bytes --]
On Thu, Nov 21, 2013 at 12:50:22PM -0200, Fabio Estevam wrote:
> Yes, sorry about that.
> I have sent a v2 with only 16, 17 and 18 that missed the Subject and
> commit log originally.
Thanks!
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 02/18] ASoC: cs42l52: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 02/18] ASoC: cs42l52: " Fabio Estevam
@ 2013-11-27 18:11 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:11 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:39PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 01/18] ASoC: cs4271: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 01/18] ASoC: cs4271: " Fabio Estevam
@ 2013-11-27 18:12 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:12 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:38PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 04/18] ASoC: ssm2602: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 04/18] ASoC: ssm2602: " Fabio Estevam
@ 2013-11-27 18:13 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:13 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel, Fabio Estevam
[-- Attachment #1.1: Type: text/plain, Size: 124 bytes --]
On Thu, Nov 21, 2013 at 12:38:42PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@gmail.com>
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 05/18] ASoC: wm8731: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 05/18] ASoC: wm8731: " Fabio Estevam
@ 2013-11-27 18:14 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:14 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:43PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 06/18] ASoC: wm8737: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 06/18] ASoC: wm8737: " Fabio Estevam
@ 2013-11-27 18:14 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:14 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:44PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 07/18] ASoC:: wm8741: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 07/18] ASoC:: wm8741: " Fabio Estevam
@ 2013-11-27 18:15 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:15 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:45PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 08/18] ASoC:: wm8750: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 08/18] ASoC:: wm8750: " Fabio Estevam
@ 2013-11-27 18:15 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:15 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:46PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 09/18] ASoC: wm8753: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 09/18] ASoC: wm8753: " Fabio Estevam
@ 2013-11-27 18:16 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:16 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:47PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 12/18] ASoC: wm8900: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 12/18] ASoC: wm8900: " Fabio Estevam
@ 2013-11-27 18:19 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:19 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:50PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 13/18] ASoC: wm8983: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 13/18] ASoC: wm8983: " Fabio Estevam
@ 2013-11-27 18:20 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:20 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:51PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 14/18] ASoC: wm8985: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 14/18] ASoC: wm8985: " Fabio Estevam
@ 2013-11-27 18:20 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:20 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:52PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
* Re: [PATCH 15/18] ASoC: wm8988: Use IS_ENABLED() macro
2013-11-21 14:38 ` [PATCH 15/18] ASoC: wm8988: " Fabio Estevam
@ 2013-11-27 18:21 ` Mark Brown
0 siblings, 0 replies; 35+ messages in thread
From: Mark Brown @ 2013-11-27 18:21 UTC (permalink / raw)
To: Fabio Estevam; +Cc: alsa-devel
[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]
On Thu, Nov 21, 2013 at 12:38:53PM -0200, Fabio Estevam wrote:
> Using the IS_ENABLED() macro can make the code shorter and simpler.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 35+ messages in thread
end of thread, other threads:[~2013-11-27 18:21 UTC | newest]
Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-21 14:38 [PATCH 00/18] ASoC: codecs: Use IS_ENABLED() macro Fabio Estevam
2013-11-21 14:38 ` [PATCH 01/18] ASoC: cs4271: " Fabio Estevam
2013-11-27 18:12 ` Mark Brown
2013-11-21 14:38 ` [PATCH 02/18] ASoC: cs42l52: " Fabio Estevam
2013-11-27 18:11 ` Mark Brown
2013-11-21 14:38 ` [PATCH 03/18] ASoC: da7210: " Fabio Estevam
2013-11-21 14:38 ` Fabio Estevam
2013-11-21 14:38 ` [PATCH 04/18] ASoC: ssm2602: " Fabio Estevam
2013-11-27 18:13 ` Mark Brown
2013-11-21 14:38 ` [PATCH 05/18] ASoC: wm8731: " Fabio Estevam
2013-11-27 18:14 ` Mark Brown
2013-11-21 14:38 ` [PATCH 06/18] ASoC: wm8737: " Fabio Estevam
2013-11-27 18:14 ` Mark Brown
2013-11-21 14:38 ` [PATCH 07/18] ASoC:: wm8741: " Fabio Estevam
2013-11-27 18:15 ` Mark Brown
2013-11-21 14:38 ` [PATCH 08/18] ASoC:: wm8750: " Fabio Estevam
2013-11-27 18:15 ` Mark Brown
2013-11-21 14:38 ` [PATCH 09/18] ASoC: wm8753: " Fabio Estevam
2013-11-27 18:16 ` Mark Brown
2013-11-21 14:38 ` [PATCH 10/18] ASoC: wm8776: " Fabio Estevam
2013-11-21 14:38 ` [PATCH 11/18] ASoC: wm8804: " Fabio Estevam
2013-11-21 14:38 ` [PATCH 12/18] ASoC: wm8900: " Fabio Estevam
2013-11-27 18:19 ` Mark Brown
2013-11-21 14:38 ` [PATCH 13/18] ASoC: wm8983: " Fabio Estevam
2013-11-27 18:20 ` Mark Brown
2013-11-21 14:38 ` [PATCH 14/18] ASoC: wm8985: " Fabio Estevam
2013-11-27 18:20 ` Mark Brown
2013-11-21 14:38 ` [PATCH 15/18] ASoC: wm8988: " Fabio Estevam
2013-11-27 18:21 ` Mark Brown
2013-11-21 14:38 ` [PATCH 16/18] ASoC: wm8990: Fabio Estevam
2013-11-21 14:49 ` Mark Brown
2013-11-21 14:50 ` Fabio Estevam
2013-11-21 18:38 ` Mark Brown
2013-11-21 14:38 ` [PATCH 17/18] ASoC: wm8995: Fabio Estevam
2013-11-21 14:38 ` [PATCH 18/18] AsoC: wm9081: Fabio Estevam
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).