[alsa-devel] [PATCH 1/1] ASoC: pcm1792a: Remove redundant of_match_ptr helper
Sachin Kamat
sachin.kamat at linaro.org
Sat Dec 21 09:15:47 CET 2013
'pcm1792a_of_match' is always compiled in. Hence the
helper macro is not needed.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
sound/soc/codecs/pcm1792a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/pcm1792a.c b/sound/soc/codecs/pcm1792a.c
index 7146653a8e16..f4d9b769bcda 100644
--- a/sound/soc/codecs/pcm1792a.c
+++ b/sound/soc/codecs/pcm1792a.c
@@ -244,7 +244,7 @@ static struct spi_driver pcm1792a_codec_driver = {
.driver = {
.name = "pcm1792a",
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(pcm1792a_of_match),
+ .of_match_table = pcm1792a_of_match,
},
.id_table = pcm1792a_spi_ids,
.probe = pcm1792a_spi_probe,
--
1.7.9.5
More information about the Alsa-devel
mailing list