diff mbox

[PING] ASoC: dwc: Remove unnecessary conditional compilation

Message ID 1422391108-9011-1-git-send-email-andrew.jackson@arm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Jackson Jan. 27, 2015, 8:38 p.m. UTC
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(-)

Comments

Mark Brown Jan. 28, 2015, 5:39 p.m. UTC | #1
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.
diff mbox

Patch

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
 	},
 };