* [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation
@ 2015-01-27 20:38 ` Andrew Jackson
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Jackson @ 2015-01-27 20:38 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
Cc: Rajeev Kumar, Andrew Jackson, Liviu Dudau, alsa-devel,
linux-kernel, linux-arm-kernel
From: Andrew Jackson <Andrew.Jackson@arm.com>
of_match_ptr is already conditionally compiled based on
CONFIG_OF so further conditional compilation is not
required. Remove conditional compilation surrounding
of_match_ptr.
Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
---
sound/soc/dwc/designware_i2s.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c
index 99cf64b..a3e97b4 100644
--- a/sound/soc/dwc/designware_i2s.c
+++ b/sound/soc/dwc/designware_i2s.c
@@ -624,9 +624,7 @@ static struct platform_driver dw_i2s_driver = {
.remove = dw_i2s_remove,
.driver = {
.name = "designware-i2s",
-#ifdef CONFIG_OF
.of_match_table = of_match_ptr(dw_i2s_of_match),
-#endif
},
};
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation
@ 2015-01-27 20:38 ` Andrew Jackson
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Jackson @ 2015-01-27 20:38 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
Cc: alsa-devel, Andrew Jackson, Liviu Dudau, linux-kernel,
Rajeev Kumar, linux-arm-kernel
From: Andrew Jackson <Andrew.Jackson@arm.com>
of_match_ptr is already conditionally compiled based on
CONFIG_OF so further conditional compilation is not
required. Remove conditional compilation surrounding
of_match_ptr.
Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
---
sound/soc/dwc/designware_i2s.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c
index 99cf64b..a3e97b4 100644
--- a/sound/soc/dwc/designware_i2s.c
+++ b/sound/soc/dwc/designware_i2s.c
@@ -624,9 +624,7 @@ static struct platform_driver dw_i2s_driver = {
.remove = dw_i2s_remove,
.driver = {
.name = "designware-i2s",
-#ifdef CONFIG_OF
.of_match_table = of_match_ptr(dw_i2s_of_match),
-#endif
},
};
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation
@ 2015-01-27 20:38 ` Andrew Jackson
0 siblings, 0 replies; 6+ messages in thread
From: Andrew Jackson @ 2015-01-27 20:38 UTC (permalink / raw)
To: linux-arm-kernel
From: Andrew Jackson <Andrew.Jackson@arm.com>
of_match_ptr is already conditionally compiled based on
CONFIG_OF so further conditional compilation is not
required. Remove conditional compilation surrounding
of_match_ptr.
Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
---
sound/soc/dwc/designware_i2s.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/designware_i2s.c
index 99cf64b..a3e97b4 100644
--- a/sound/soc/dwc/designware_i2s.c
+++ b/sound/soc/dwc/designware_i2s.c
@@ -624,9 +624,7 @@ static struct platform_driver dw_i2s_driver = {
.remove = dw_i2s_remove,
.driver = {
.name = "designware-i2s",
-#ifdef CONFIG_OF
.of_match_table = of_match_ptr(dw_i2s_of_match),
-#endif
},
};
--
1.7.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation
2015-01-27 20:38 ` Andrew Jackson
(?)
@ 2015-01-28 17:39 ` Mark Brown
-1 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2015-01-28 17:39 UTC (permalink / raw)
To: Andrew Jackson
Cc: Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Rajeev Kumar,
Liviu Dudau, alsa-devel, linux-kernel, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
On Tue, Jan 27, 2015 at 08:38:28PM +0000, Andrew Jackson wrote:
> From: Andrew Jackson <Andrew.Jackson@arm.com>
>
> of_match_ptr is already conditionally compiled based on
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation
@ 2015-01-28 17:39 ` Mark Brown
0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2015-01-28 17:39 UTC (permalink / raw)
To: Andrew Jackson
Cc: alsa-devel, Takashi Iwai, linux-kernel, Liviu Dudau,
Liam Girdwood, Rajeev Kumar, linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 197 bytes --]
On Tue, Jan 27, 2015 at 08:38:28PM +0000, Andrew Jackson wrote:
> From: Andrew Jackson <Andrew.Jackson@arm.com>
>
> of_match_ptr is already conditionally compiled based on
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation
@ 2015-01-28 17:39 ` Mark Brown
0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2015-01-28 17:39 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jan 27, 2015 at 08:38:28PM +0000, Andrew Jackson wrote:
> From: Andrew Jackson <Andrew.Jackson@arm.com>
>
> of_match_ptr is already conditionally compiled based on
Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20150128/f85b1f11/attachment.sig>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-01-29 1:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-27 20:38 [PATCH PING] ASoC: dwc: Remove unnecessary conditional compilation Andrew Jackson
2015-01-27 20:38 ` Andrew Jackson
2015-01-27 20:38 ` Andrew Jackson
2015-01-28 17:39 ` Mark Brown
2015-01-28 17:39 ` Mark Brown
2015-01-28 17:39 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.