ASoC: dwc: Remove unnecessary conditional compilation
authorAndrew Jackson <Andrew.Jackson@arm.com>
Tue, 27 Jan 2015 20:38:28 +0000 (20:38 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 17:40:08 +0000 (17:40 +0000)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/dwc/designware_i2s.c

index adefdf0e01f15700409aee4266ae17c5c2a313d5..8fbf0381ee536f178432fad874a01d8626cdc488 100644 (file)
@@ -613,9 +613,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
        },
 };