[alsa-devel] [PATCH 1/1] ASoC: sam9x5_wm8731: Remove redundant of_match_ptr helper
Sachin Kamat
sachin.kamat at linaro.org
Sat Dec 21 09:19:45 CET 2013
'sam9x5_wm8731_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/atmel/sam9x5_wm8731.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/atmel/sam9x5_wm8731.c b/sound/soc/atmel/sam9x5_wm8731.c
index 7d6a9055874b..59df542afc7d 100644
--- a/sound/soc/atmel/sam9x5_wm8731.c
+++ b/sound/soc/atmel/sam9x5_wm8731.c
@@ -195,7 +195,7 @@ static struct platform_driver sam9x5_wm8731_driver = {
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,
- .of_match_table = of_match_ptr(sam9x5_wm8731_of_match),
+ .of_match_table = sam9x5_wm8731_of_match,
},
.probe = sam9x5_wm8731_driver_probe,
.remove = sam9x5_wm8731_driver_remove,
--
1.7.9.5
More information about the Alsa-devel
mailing list