ASoC: dwc: Remove unnecessary conditional compilation

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>
This commit is contained in:
Andrew Jackson 2015-01-27 20:38:28 +00:00 committed by Mark Brown
parent 0d274544bf
commit acae254a8e

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